pytest-django icon indicating copy to clipboard operation
pytest-django copied to clipboard

Trying to set up a fresh unmigrated database for each tests in a specific class

Open AdarShaked opened this issue 4 years ago • 0 comments
trafficstars

Hi, I'm trying to test a new feature related to migrations, In order to do so I need a clear and unmigrated DB for each test in the tests class. how can I achieve that with this plugin?

note that for the rest of my tests I'm using a migrated test DB using django_db_setup.

AdarShaked avatar Nov 10 '21 21:11 AdarShaked