mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 03:54:01 +03:00
Merge pull request #1817 from tituomin/testing-requirements-documentation
Correct testing documentation details.
This commit is contained in:
commit
b40525d8e6
|
@ -62,10 +62,10 @@ To run the tests, clone the repository, and then:
|
||||||
virtualenv env
|
virtualenv env
|
||||||
env/bin/activate
|
env/bin/activate
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install -r optionals.txt
|
pip install -r requirements-test.txt
|
||||||
|
|
||||||
# Run the tests
|
# Run the tests
|
||||||
py.test
|
./runtests.py
|
||||||
|
|
||||||
You can also use the excellent [`tox`][tox] testing tool to run the tests against all supported versions of Python and Django. Install `tox` globally, and then simply run:
|
You can also use the excellent [`tox`][tox] testing tool to run the tests against all supported versions of Python and Django. Install `tox` globally, and then simply run:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user