diff options
| author | Tim Graham <timograham@gmail.com> | 2016-10-26 19:15:33 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-10-27 08:44:10 -0400 |
| commit | df66aee8566dccc8c5005eeb291155f3b5e6f9f6 (patch) | |
| tree | 9a6b02132a904ac5d098eda2bcc91ff784e5686d /tests | |
| parent | dda9a5928a565648ca604cde066c253db8871370 (diff) | |
[1.10.x] Updated "running the tests" to use 'pip install -e'.
Backport of d84ffcc22b2a0dbc0a44a67d56da7e3647e2f87a from master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/README.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/README.rst b/tests/README.rst index 73bce435e2..7d4ddb513a 100644 --- a/tests/README.rst +++ b/tests/README.rst @@ -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/. |
