Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Commit

Permalink
specify MIDDLEWARE_CLASSES setting for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Feb 6, 2015
1 parent a532347 commit ab5d2ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions runtests.py
Expand Up @@ -32,6 +32,14 @@
},
ROOT_URLCONF="stored_messages.urls",
INSTALLED_APPS=INSTALLED_APPS,
# Django 1.7 has a new, minimal default set for MIDDLEWARE_CLASSES so be explicit
MIDDLEWARE_CLASSES=(
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
),
SITE_ID=1,
NOSE_ARGS=['-s'],
MESSAGE_STORAGE='stored_messages.storage.PersistentStorage',
Expand Down

0 comments on commit ab5d2ea

Please sign in to comment.