tox.ini
goes into Django's root folder. test_*.py
to the tests/
directory.
Install tox and run tox -e $python-$db
. For instance, to run the tests on python 2.7 and sqlite:
tox -e py27-sqlite
You can also pass the app labels to test. To run the wsgi
tests:
tox -e py27-sqlite -- wsgi