[1.11.x] Refs #27741 -- Fixed staticfiles_tests.test_views when run in isolation.

Backport of 11856ea44e from master
This commit is contained in:
Tim Graham 2017-01-25 13:53:38 -05:00
parent 15967d5e4a
commit 7dda48bf18
1 changed files with 3 additions and 0 deletions

View File

@ -26,4 +26,7 @@ TEST_SETTINGS = {
'staticfiles_tests.apps.test',
'staticfiles_tests.apps.no_label',
],
# In particular, AuthenticationMiddleware can't be used because
# contrib.auth isn't in INSTALLED_APPS.
'MIDDLEWARE': [],
}