1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Isolated template tests from Django settings.

This commit is contained in:
Aymeric Augustin
2014-12-07 09:43:10 +01:00
parent b34b8a12b7
commit 92a2d049a2
85 changed files with 1070 additions and 1081 deletions

View File

@@ -1,4 +1,3 @@
from django.conf import settings
from django.test import SimpleTestCase
from ..utils import setup
@@ -15,8 +14,8 @@ class SetupTests(SimpleTestCase):
@setup({})
def method(self):
cases.append([
settings.TEMPLATE_STRING_IF_INVALID,
settings.TEMPLATE_DEBUG,
self.engine.string_if_invalid,
self.engine.debug,
])
method(self)