unit testing - Drop test db in django after running each test file -


i have 2 different tests in app/tests/ directory:

app/tests/tests.py , have added app/tests/tests_new.py

running tests individually not throw error if run them older file tests.py fails tests values getting altered.

any idea why happening ? need drop test database before running other tests ?


Comments

Popular posts from this blog

rest - Spring boot: Request method 'PUT' not supported -

php - Magento - Deleted Base url key -

symfony - imagine_filter() not generating the correct url in LiipImagineBundle -