Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #8401: Added a note on the fact that DEBUG=False is forced duri…

…ng test execution. Thanks to rishi for the suggestion.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e822fd703bead9c753257da9722ea00e444395d5 1 parent 6447582
Russell Keith-Magee authored August 24, 2008

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. 8  docs/topics/testing.txt
8  docs/topics/testing.txt
@@ -300,6 +300,14 @@ use the :setting:`TEST_DATABASE_COLLATION` setting to control the particular
300 300
 collation used by the test database. See the :ref:`settings documentation
301 301
 <ref-settings>` for details of these advanced settings.
302 302
 
  303
+Other test conditions
  304
+---------------------
  305
+
  306
+Regardless of the value of the :setting:`DEBUG` setting in your configuration
  307
+file, all Django tests run with :setting:`DEBUG=False`. This is to ensure that
  308
+the observed output of your code matches what will be seen in a production
  309
+setting.
  310
+
303 311
 Understanding the test output
304 312
 -----------------------------
305 313
 

0 notes on commit e822fd7

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