summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests/test_multiline.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-12-07 09:43:10 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-12-28 16:23:01 +0100
commit92a2d049a253fb499db88efb6cf6c9209f6f251c (patch)
treebd3c913883b36f918f3c8ae7af942a8c8f50a23f /tests/template_tests/syntax_tests/test_multiline.py
parentb34b8a12b7f657f379c9e0e5ee7688bf36e242d2 (diff)
Isolated template tests from Django settings.
Diffstat (limited to 'tests/template_tests/syntax_tests/test_multiline.py')
-rw-r--r--tests/template_tests/syntax_tests/test_multiline.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template_tests/syntax_tests/test_multiline.py b/tests/template_tests/syntax_tests/test_multiline.py
index 23a0a2f253..b2371f7fd1 100644
--- a/tests/template_tests/syntax_tests/test_multiline.py
+++ b/tests/template_tests/syntax_tests/test_multiline.py
@@ -1,6 +1,6 @@
from django.test import SimpleTestCase
-from ..utils import render, setup
+from ..utils import setup
multiline_string = """
@@ -17,5 +17,5 @@ class MultilineTests(SimpleTestCase):
@setup({'multiline01': multiline_string})
def test_multiline01(self):
- output = render('multiline01')
+ output = self.engine.render_to_string('multiline01')
self.assertEqual(output, multiline_string)