diff options
| author | Timo Graham <timograham@gmail.com> | 2011-08-06 18:54:21 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2011-08-06 18:54:21 +0000 |
| commit | bbe63f07c4a54f705636d3c34c6c05a5d76b085d (patch) | |
| tree | 955b284c96a7df461b034ce63676a7b51a51909e /docs | |
| parent | 953fed1e30ebe4fd4b5365bdd9ec92ecde36faba (diff) | |
Fixed #16528 - Documented test runner returns 1, regardless of the number of test failures; thanks teraom.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/testing.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt index 2362193960..8cb00e39a4 100644 --- a/docs/topics/testing.txt +++ b/docs/topics/testing.txt @@ -555,7 +555,7 @@ A full explanation of this error output is beyond the scope of this document, but it's pretty intuitive. You can consult the documentation of Python's ``unittest`` library for details. -Note that the return code for the test-runner script is the total number of +Note that the return code for the test-runner script is 1 for any number of failed and erroneous tests. If all the tests pass, the return code is 0. This feature is useful if you're using the test-runner script in a shell script and need to test for success or failure at that level. |
