

def test_chaining(self):
    tmpl = env.from_string("{{ ['<foo>', '<bar>']|first|upper|escape }}")
    assert (self.render() == '&lt;FOO&gt;')

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