From b0894edbeb9edc703414369ddc59c3cec1c092c1 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 1 Jun 2016 11:47:24 +0100 Subject: [PATCH] Added TEMPLATES setting to tests --- tests/conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 03b4e3285..f7b3d8386 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -15,6 +15,12 @@ def pytest_configure(): 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', ), + TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'APP_DIRS': True, + }, + ], MIDDLEWARE_CLASSES=( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware',