def test_expand_template_overwrite(self): self.assertEqual(generate.expand_template( 1, YAML2, '{{ key }}', {'key': 'other'} ), 'other')
def test_expand_template_overwrite(self): self.assertEqual( generate.expand_template(1, YAML2, '{{ key }}', {'key': 'other'}), 'other')
def test_expand_template(self): self.assertEqual(generate.expand_template( 1, YAML2, '{% if step >= 1 %}a{% endif %}'), 'a')
def test_expand_template(self): self.assertEqual( generate.expand_template(1, YAML2, '{% if step >= 1 %}a{% endif %}'), 'a')