Author: russellm
Date: 2008-08-24 03:09:27 -0500 (Sun, 24 Aug 2008)
New Revision: 8514

Modified:
   django/trunk/docs/topics/testing.txt
Log:
Fixed #8401: Added a note on the fact that DEBUG=False is forced during test 
execution. Thanks to rishi for the suggestion.

Modified: django/trunk/docs/topics/testing.txt
===================================================================
--- django/trunk/docs/topics/testing.txt        2008-08-24 08:04:06 UTC (rev 
8513)
+++ django/trunk/docs/topics/testing.txt        2008-08-24 08:09:27 UTC (rev 
8514)
@@ -300,6 +300,14 @@
 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
 -----------------------------
 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to