summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests/test_lorem.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template_tests/syntax_tests/test_lorem.py')
-rw-r--r--tests/template_tests/syntax_tests/test_lorem.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template_tests/syntax_tests/test_lorem.py b/tests/template_tests/syntax_tests/test_lorem.py
index 339163ea8d..9963bbd026 100644
--- a/tests/template_tests/syntax_tests/test_lorem.py
+++ b/tests/template_tests/syntax_tests/test_lorem.py
@@ -1,11 +1,11 @@
from django.test import SimpleTestCase
-from ..utils import render, setup
+from ..utils import setup
class LoremTagTests(SimpleTestCase):
@setup({'lorem1': '{% lorem 3 w %}'})
def test_lorem1(self):
- output = render('lorem1')
+ output = self.engine.render_to_string('lorem1')
self.assertEqual(output, 'lorem ipsum dolor')