﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20092	Cache not isolated in tests	Jonas Obrist	nobody	"Unlike the database, cache is not isolated in tests. I would argue that it's expected behavior that the cache is clean in each test method.

The cache tests of Django [1] manually clear the cache in tearDown and comparing the DB cache tests [2] to the Locmem cache tests [3] shows possible difficulties on properly isolating the cache in tests.


[1] https://github.com/django/django/blob/master/tests/cache/tests.py
[2] https://github.com/django/django/blob/master/tests/cache/tests.py#L814
[3] https://github.com/django/django/blob/master/tests/cache/tests.py#L917"	Bug	closed	Testing framework	1.5	Normal	duplicate			Unreviewed	0	0	0	0	0	0
