How do I use the same database in the worker container with pytest-django? #447
Unanswered
suspiciousRaccoon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I add the following test to the django example:
it always fails:
After testing a bit this is because the database used in the tasks is different than the one that pytest-django provides via fixture.
How can I make sure the database used in the worker is the same?
Beta Was this translation helpful? Give feedback.
All reactions