Mariusz Felisiak bc1fa8ebcd [4.0.x] Refs #31026 -- Fixed forms_tests if Jinja2 is not installed.
Backport of 881a4799114fccefbc0f56c6524110ede2682e16 from main
2021-09-21 10:18:03 +02:00
..
2017-06-01 13:23:48 -04:00

To run the test suite, first, create and activate a virtual environment. Then install some requirements and run the tests:

$ cd tests
$ python -m pip install -e ..
$ python -m pip install -r requirements/py3.txt
$ ./runtests.py

For more information about the test suite, see https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.