mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Updated "running the tests" to use 'pip install -e'.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
To run the test suite::
|
||||
To run the test suite, first, create and activate a virtual environment. Then
|
||||
install some requirements and run the tests::
|
||||
|
||||
$ cd tests
|
||||
$ pip install -e ..
|
||||
$ pip install -r requirements/py3.txt # or py2.txt
|
||||
$ PYTHONPATH=..:$PYTHONPATH ./runtests.py
|
||||
$ ./runtests.py
|
||||
|
||||
For more information about the test suite, see
|
||||
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.
|
||||
|
||||
Reference in New Issue
Block a user