Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.3.X] Fixed #16528 - Documented test runner returns 1, regardless o…

…f the number of test failures; thanks teraom.

Backport of r16584 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4217f358c0b2765ec1824d994c5926ad7ad26a10 1 parent fe96e20
@timgraham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/testing.txt
View
2  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.
Please sign in to comment.
Something went wrong with that request. Please try again.