

def test_forceescape(self):
    tmpl = env.from_string('{{ x|forceescape }}')
    assert (tmpl.render(x=Markup('<div />')) == '&lt;div /&gt;')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/jinja2-2.6/jinja2/testsuite/filters.py FilterTestCase.test_forceescape/original