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

php - Magento - Deleted Base url key -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -