custom django testrunner
Project description
Custom django testrunner that eliminates test database creation when running tests.
###Installation
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.
###Usage (default)
Override django’s default testrunner by adding the following to your settings
`python TEST_RUNNER = 'runner.NoDbTestRunner' ` or `python TEST_RUNNER = '<your_app>.runner.NoDbTestRunner' `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dj-nodb-0.0.1.tar.gz
(1.3 kB
view hashes)
Built Distributions
dj_nodb-0.0.1-py2.7.egg
(1.2 kB
view hashes)
Close
Hashes for dj_nodb-0.0.1-cp27-none-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3467e2bb5e2e4866774bb0435287795bc0c7b50e4410aec9e226b37dba21144b |
|
MD5 | e2758a66d089b8d8cfc7645b40f6ba99 |
|
BLAKE2b-256 | 1ac93bf2a0e0870da2a046affeb92e435029ab6b3fa260c13ea96da8d08236b9 |