python - How to have a fixture loaded for Django tests in the test runner? -


i have large set of django test cases, of subclass either testcase or transactiontestcase. need add fixture test cases (to handle new way of handling settings in database).

i of course add fixture fixtures attribute of every test case. or change test cases subclass custom test case subclass sets fixture -- , change existing test case fixture settings extend rather override parent class fixture settings.

either of above tedious , error prone in particular case.

so -- there way test runner add fixture each test case it's run?


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -