aboutsummaryrefslogtreecommitdiffstats
path: root/docs/topics
diff options
context:
space:
mode:
authorTom Christie2014-11-17 12:42:08 +0000
committerTom Christie2014-11-17 12:42:08 +0000
commit2444e6a7937f53d0832f872aebee85f85074c37b (patch)
treeaad88ca94b73c9e2919b49934c66cdaebf8714e2 /docs/topics
parenta190ffda3cac797889dcc0814942d7918e013824 (diff)
parentd08cfb0559033acaefbc23863c43ef858c2c0e1c (diff)
downloaddjango-rest-framework-2444e6a7937f53d0832f872aebee85f85074c37b.tar.bz2
Merge pull request #2083 from jpadilla/patch-1
Fix runtests examples
Diffstat (limited to 'docs/topics')
-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.