summaryrefslogtreecommitdiffstats
path: root/testsettings.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-06-20 15:25:38 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-06-22 09:06:20 (GMT)
commit958cb65acd499ae97a3ffb1901c54a86b08e9eea (patch)
treeddb479730769028b46cfb26f7bbe951e214ab873 /testsettings.py
parent80c748820a94c28fa6c5dcf14bb4ab1682c3d1ad (diff)
downloaddjango-mellon-958cb65acd499ae97a3ffb1901c54a86b08e9eea.zip
django-mellon-958cb65acd499ae97a3ffb1901c54a86b08e9eea.tar.gz
django-mellon-958cb65acd499ae97a3ffb1901c54a86b08e9eea.tar.bz2
tests: use dummy metadata from lasso, starts tests of SSO/SLO (fixes #11476)
Diffstat (limited to 'testsettings.py')
-rw-r--r--testsettings.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/testsettings.py b/testsettings.py
index ed8c13c..f1da827 100644
--- a/testsettings.py
+++ b/testsettings.py
@@ -12,9 +12,10 @@ DATABASES = {
}
}
DEBUG = True
-SECRET_KEY='xx'
+SECRET_KEY = 'xx'
STATIC_URL = '/static/'
-INSTALLED_APPS = ('mellon', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions')
+INSTALLED_APPS = ('mellon', 'django.contrib.auth',
+ 'django.contrib.contenttypes', 'django.contrib.sessions')
MIDDLEWARE_CLASSES = global_settings.MIDDLEWARE_CLASSES
MIDDLEWARE_CLASSES += (
'django.contrib.sessions.middleware.SessionMiddleware',
@@ -23,11 +24,11 @@ MIDDLEWARE_CLASSES += (
AUTHENTICATION_BACKENDS = (
'mellon.backends.SAMLBackend',
)
-ROOT_URLCONF = 'mellon.urls'
+ROOT_URLCONF = 'urls_tests'
TEMPLATE_DIRS = [
'tests/templates/',
]
-if django.VERSION >= (1,8):
+if django.VERSION >= (1, 8):
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',