Docs should say that caches are not cleared after each test
|Reported by:||Thomas Güttler||Owned by:||nobody|
|Cc:||hv@…, albrecht.andi@…, timograham@…||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by )
Caches are not cleared after each test, and running "manage.py test fooapp" can insert wrong data into the cache of a live system.
The current behavior should be documented here:
I think it is imporant to state this, since tests use a temporary database and flush the database for each test.
Change History (8)
comment:1 Changed 5 years ago by
|Triage Stage:||Unreviewed → Accepted|
|Type:||Uncategorized → Cleanup/optimization|