aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Padilla2014-11-17 08:17:40 -0400
committerJosé Padilla2014-11-17 08:17:40 -0400
commitd08cfb0559033acaefbc23863c43ef858c2c0e1c (patch)
treeaad88ca94b73c9e2919b49934c66cdaebf8714e2
parenta190ffda3cac797889dcc0814942d7918e013824 (diff)
downloaddjango-rest-framework-d08cfb0559033acaefbc23863c43ef858c2c0e1c.tar.bz2
Fix runtests examples
Correctly rename runtests examples to work with current runtests.py file.
-rw-r--r--docs/topics/contributing.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/topics/contributing.md b/docs/topics/contributing.md
index 6c289938..52f6e287 100644
--- a/docs/topics/contributing.md
+++ b/docs/topics/contributing.md
@@ -71,31 +71,31 @@ To run the tests, clone the repository, and then:
Run using a more concise output style.
- ./runtests -q
+ ./runtests.py -q
Run the tests using a more concise output style, no coverage, no flake8.
- ./runtests --fast
+ ./runtests.py --fast
Don't run the flake8 code linting.
- ./runtests --nolint
+ ./runtests.py --nolint
Only run the flake8 code linting, don't run the tests.
- ./runtests --lintonly
+ ./runtests.py --lintonly
Run the tests for a given test case.
- ./runtests MyTestCase
+ ./runtests.py MyTestCase
Run the tests for a given test method.
- ./runtests MyTestCase.test_this_method
+ ./runtests.py MyTestCase.test_this_method
Shorter form to run the tests for a given test method.
- ./runtests test_this_method
+ ./runtests.py test_this_method
Note: The test case and test method matching is fuzzy and will sometimes run other tests that contain a partial string match to the given command line input.