Commit 3e284008 by Chris Jerdonek

Tweaked test case that interpolation output should not be reinterpolated.

parent abea8bad
...@@ -164,9 +164,9 @@ class RenderTests(unittest.TestCase): ...@@ -164,9 +164,9 @@ class RenderTests(unittest.TestCase):
Context values should not be treated as templates (issue #44). Context values should not be treated as templates (issue #44).
""" """
template = '{{test}}' template = '{{template}}: {{planet}}'
context = {'test': '{{hello}}'} context = {'template': '{{planet}}', 'planet': 'Earth'}
self._assert_render('{{hello}}', template, context) self._assert_render(u'{{planet}}: Earth', template, context)
def test_tag__output_not_interpolated__section(self): def test_tag__output_not_interpolated__section(self):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment