Beispiel #1
0
 def test_render_cheetah(self):
     if not template.CheetahTemplate:
         skip("CheetahTemplate not available")
     for tmpl, exp in self.name_tests.items():
         res = template.render_cheetah(tmpl, None, g_vars)
         assert exp == res, \
             "template {0!r}, expected {1!r}, got {2!r}".format(tmpl, exp, res)
Beispiel #2
0
 def test_render_cheetah(self):
     for tmpl, exp in self.name_tests.iteritems():
         res = template.render_cheetah(tmpl, None, g_vars)
         assert exp == res, \
             "template {0!r}, expected {1!r}, got {2!r}".format(tmpl, exp, res)
Beispiel #3
0
 def test_render_cheetah(self):
     for tmpl, exp in self.name_tests.iteritems():
         res = template.render_cheetah(tmpl, None, g_vars)
         assert exp == res, \
             "template {0!r}, expected {1!r}, got {2!r}".format(tmpl, exp, res)