summaryrefslogtreecommitdiff
path: root/docs/topics/testing.txt
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-08-24 08:09:27 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-08-24 08:09:27 +0000
commite822fd703bead9c753257da9722ea00e444395d5 (patch)
treedb6385f9e69ac116aada3f592a96868e87b69167 /docs/topics/testing.txt
parent6447582b85711c4c6f1f8dc8e36d0dbc57cceff0 (diff)
Fixed #8401: Added a note on the fact that DEBUG=False is forced during test execution. Thanks to rishi for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/testing.txt')
-rw-r--r--docs/topics/testing.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
index d6597aa056..a68a637ec5 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -300,6 +300,14 @@ use the :setting:`TEST_DATABASE_COLLATION` setting to control the particular
collation used by the test database. See the :ref:`settings documentation
<ref-settings>` for details of these advanced settings.
+Other test conditions
+---------------------
+
+Regardless of the value of the :setting:`DEBUG` setting in your configuration
+file, all Django tests run with :setting:`DEBUG=False`. This is to ensure that
+the observed output of your code matches what will be seen in a production
+setting.
+
Understanding the test output
-----------------------------