summaryrefslogtreecommitdiff
path: root/docs/testing.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-04-06 04:39:24 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-04-06 04:39:24 +0000
commit94aeccf18eca83ce8c983695059d56f66127a0fd (patch)
tree42aae866c510e6cabc658acb445f1e41f9dbe82c /docs/testing.txt
parente2b49c379a56730b73d79ec05d6edc790ba08cc9 (diff)
newforms-admin: Merged to [4939]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@4940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/testing.txt')
-rw-r--r--docs/testing.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/testing.txt b/docs/testing.txt
index 31cea791d3..5b27ae6484 100644
--- a/docs/testing.txt
+++ b/docs/testing.txt
@@ -276,7 +276,7 @@ for testing purposes:
``status_code`` The HTTP status of the response. See RFC2616_ for a
full list of HTTP status codes.
- ``content`` The body of the response. The is the final page
+ ``content`` The body of the response. This is the final page
content as rendered by the view, or any error message
(such as the URL for a 302 redirect).
@@ -468,7 +468,8 @@ failed::
FAILED (failures=1)
-The return code for the script will indicate the number of tests that failed.
+The return code for the script is the total number of failed and erroneous
+tests. If all the tests pass, the return code is 0.
Regardless of whether the tests pass or fail, the test database is destroyed when
all the tests have been executed.