Add pytest-warning to tests and correct some warnings, complete coverage (essentially branch)

This commit is contained in:
Valentin Samir
2016-07-29 13:56:23 +02:00
parent b168e0a642
commit 6eea76d984
11 changed files with 78 additions and 15 deletions

View File

@ -51,6 +51,22 @@ MIDDLEWARE_CLASSES = [
'django.middleware.locale.LocaleMiddleware',
]
TEMPLATES = [
{
'APP_DIRS': True,
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages'
]
}
}
]
ROOT_URLCONF = 'cas_server.tests.urls'
# Database