From 8fdbaf27a65d63332841d8672ac9a8c6a0300a45 Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Sun, 1 Apr 2012 20:23:22 -0700 Subject: Removed View dependency from Unescaped example. --- tests/test_examples.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_examples.py b/tests/test_examples.py index 5b5af01..36b8f7e 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -40,7 +40,9 @@ class TestView(unittest.TestCase, AssertStringMixin): self._assert(Escaped(), u"

Bear > Shark

") def test_literal(self): - self.assertEquals(Unescaped().render(), "

Bear > Shark

") + renderer = Renderer() + actual = renderer.render(Unescaped()) + self.assertEquals(actual, "

Bear > Shark

") def test_template_partial(self): renderer = Renderer(search_dirs=EXAMPLES_DIR) -- cgit v1.2.1