def test_unescaped(self): self.assertEquals(Unescaped().render(), "<h1>Bear > Shark</h1>")
def test_literal(self): renderer = Renderer() actual = renderer.render(Unescaped()) self.assertString(actual, u"<h1>Bear > Shark</h1>")