

def test_block(self):
    tmpl = env.from_string('{% filter lower|escape %}<HEHE>{% endfilter %}')
    assert (tmpl.render() == '&lt;hehe&gt;')

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