Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #16528 - Documented test runner returns 1, regardless of the nu…

…mber of test failures; thanks teraom.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bbe63f07c4a54f705636d3c34c6c05a5d76b085d 1 parent 953fed1
Tim Graham authored August 06, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/testing.txt
2  docs/topics/testing.txt
@@ -555,7 +555,7 @@ A full explanation of this error output is beyond the scope of this document,
555 555
 but it's pretty intuitive. You can consult the documentation of Python's
556 556
 ``unittest`` library for details.
557 557
 
558  
-Note that the return code for the test-runner script is the total number of
  558
+Note that the return code for the test-runner script is 1 for any number of
559 559
 failed and erroneous tests. If all the tests pass, the return code is 0. This
560 560
 feature is useful if you're using the test-runner script in a shell script and
561 561
 need to test for success or failure at that level.

0 notes on commit bbe63f0

Please sign in to comment.
Something went wrong with that request. Please try again.