mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Isolated template tests from Django settings.
This commit is contained in:
parent
b34b8a12b7
commit
92a2d049a2
85 changed files with 1070 additions and 1081 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue