

def test_title(self):
    tmpl = env.from_string('{{ "foo bar"|title }}')
    assert (tmpl.render() == 'Foo Bar')

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