def test_render_moustache_bad_key(self): self.assertEqual(oac.render_moustache("{{badkey}}", {}), u'')
def test_render_moustache(self): self.assertEqual(oac.render_moustache("ab{{x.a}}cd", { "x": {"a": "123"}}), "ab123cd")