def METHOD_NAME(self):
    for test in self.test_data:
        intermediate = _escape_backslashes(test['template'], self.env)
        self.assertEqual(intermediate, test['intermediate'])
        template = jinja2.Template(intermediate)
        args = test['args']
        self.assertEqual(template.render(**args), test['expectation'])