

def test_filtertag(self):
    tmpl = env.from_string("{% filter upper|replace('FOO', 'foo') %}foobar{% endfilter %}")
    assert (self.render() == 'fooBAR')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/jinja2-2.6/jinja2/testsuite/filters.py FilterTestCase.test_filtertag/VarMisuse@21/47 `tmpl`->`self`