Add the cache middleware to the tests.

This commit is contained in:
Xavier Ordoquy 2014-09-16 21:53:29 +02:00
parent cfd0ab52fd
commit 7bbe392490

View File

@ -21,6 +21,8 @@ def pytest_configure():
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.cache.UpdateCacheMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware',
),
INSTALLED_APPS=(
'django.contrib.auth',