diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-07 09:43:10 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-28 16:23:01 +0100 |
| commit | 92a2d049a253fb499db88efb6cf6c9209f6f251c (patch) | |
| tree | bd3c913883b36f918f3c8ae7af942a8c8f50a23f /tests/template_tests/syntax_tests/test_setup.py | |
| parent | b34b8a12b7f657f379c9e0e5ee7688bf36e242d2 (diff) | |
Isolated template tests from Django settings.
Diffstat (limited to 'tests/template_tests/syntax_tests/test_setup.py')
| -rw-r--r-- | tests/template_tests/syntax_tests/test_setup.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/template_tests/syntax_tests/test_setup.py b/tests/template_tests/syntax_tests/test_setup.py index fd7355a738..07377cea3f 100644 --- a/tests/template_tests/syntax_tests/test_setup.py +++ b/tests/template_tests/syntax_tests/test_setup.py @@ -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) |
