To run the test suite:: $ cd tests $ pip install -r requirements/py3.txt # or py2.txt $ PYTHONPATH=..:$PYTHONPATH ./runtests.py For more information about the test suite, see https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.