Closed
Description
There's a big chance that I'm not doing something right, because I am very new to pytest, but basically I am using the exact same test DB settings as for unittest, but pytest is giving me django.db.utils.OperationalError: FATAL: database "database" does not exist
https://gist.github.com/maryokhin/0749d31ef9b273b13352. Got tired of banging my head, so wanted to ask, maybe someone knows what's up.
As a subquestion, when using pytest or pytest-django decorators, PyCharm always warns of unresolved references, is it because under the hood they use some dynamic stuff it can't detect?
Metadata
Metadata
Assignees
Labels
No labels