summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests/test_extends.py
diff options
context:
space:
mode:
authorDražen Odobašić <dodobas@candela-it.com>2015-09-11 19:33:12 -0400
committerTim Graham <timograham@gmail.com>2015-09-12 11:40:50 -0400
commitb1e33ceceda1e75ff68c7deed8f6659683a195d3 (patch)
treee4e446f69194f2dc3c9c7ee3ecf48290ea8d4d31 /tests/template_tests/syntax_tests/test_extends.py
parent84b0a8d2aad042fb573df5055b6153770d0929ac (diff)
Fixed #23395 -- Limited line lengths to 119 characters.
Diffstat (limited to 'tests/template_tests/syntax_tests/test_extends.py')
-rw-r--r--tests/template_tests/syntax_tests/test_extends.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/template_tests/syntax_tests/test_extends.py b/tests/template_tests/syntax_tests/test_extends.py
index 46600cb76c..bc320a2fc2 100644
--- a/tests/template_tests/syntax_tests/test_extends.py
+++ b/tests/template_tests/syntax_tests/test_extends.py
@@ -251,7 +251,9 @@ class InheritanceTests(SimpleTestCase):
"""
Inheritance from local context without use of template loader
"""
- context_template = self.engine.from_string("1{% block first %}_{% endblock %}3{% block second %}_{% endblock %}")
+ context_template = self.engine.from_string(
+ "1{% block first %}_{% endblock %}3{% block second %}_{% endblock %}"
+ )
output = self.engine.render_to_string('inheritance24', {'context_template': context_template})
self.assertEqual(output, '1234')