Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #18057 - Documented that caches are not cleared after each test…

…; thanks guettli for the suggestion.
  • Loading branch information...
1 parent 822cfce commit 2aaa467a2ab57d5616d384a70e2b6f8217ece63e @timgraham timgraham committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/topics/testing.txt
7 docs/topics/testing.txt
@@ -508,6 +508,13 @@ 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
+Caches are not cleared after each test, and running " test fooapp" can
+insert data from the tests into the cache of a live system if you run your
+tests in production because, unlike databases, a separate "test cache" is not
+used. This behavior `may change`_ in the future.
+.. _may change:
Understanding the test output

0 comments on commit 2aaa467

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