Ticket #18057: 18057.diff

File 18057.diff, 757 bytes (added by Tim Graham, 12 years ago)
  • docs/topics/testing.txt

    diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
    index 7afdbe8..117dfbe 100644
    a b file, all Django tests run with :setting:`DEBUG`\=False. This is to ensure that  
    508508the observed output of your code matches what will be seen in a production
    509509setting.
    510510
     511Caches are not cleared after each test, and running "manage.py test fooapp" can
     512insert data from the tests into the cache of a live system if you run your
     513tests in production because, unlike databases, a separate "test cache" is not
     514used. This behavior `may change`_ in the future.
     515
     516.. _may change: https://code.djangoproject.com/ticket/11505
     517
    511518Understanding the test output
    512519-----------------------------
    513520
Back to Top