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

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -