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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user