Talk Python To Me cover image

#379: 17 Libraries You Should Be Using in Django

Talk Python To Me

Using a Jango Factory Boy for Test Fixture Replacements?

1min Snip

00:00
Play full episode
Jango comes with a lot of mechanisms like fixtures, that allow you to push things into the data base. The test swit automatically will install those fixtures and wraps each test in transactions. So you're always in a known good state at the beginning of each one of your functions. And yes, people can check this out another relte question. Nick asks, i like to hear opinions on mocking the r m data base when testing, versus actually using the dataBase. I don't tend to mock unless i absolutely have to.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode