custom django testrunner
Custom django testrunner that eliminates test database creation when running tests.
- pip install dj-nodb
This will place the custom testrunner (runner.py) at the root of your project. Alternatively you can move it to any part of your application you desire.
Override django’s default testrunner by adding the following to your settings
TEST_RUNNER = 'dj-nodb.runner.NoDbTestRunner'