Author: timo Date: 2011-08-06 11:54:40 -0700 (Sat, 06 Aug 2011) New Revision: 16585
Modified: django/branches/releases/1.3.X/docs/topics/testing.txt Log: [1.3.X] Fixed #16528 - Documented test runner returns 1, regardless of the number of test failures; thanks teraom. Backport of r16584 from trunk. Modified: django/branches/releases/1.3.X/docs/topics/testing.txt =================================================================== --- django/branches/releases/1.3.X/docs/topics/testing.txt 2011-08-06 18:54:21 UTC (rev 16584) +++ django/branches/releases/1.3.X/docs/topics/testing.txt 2011-08-06 18:54:40 UTC (rev 16585) @@ -555,7 +555,7 @@ 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. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
