Commit 7ec96cba authored by Andreas Jung's avatar Andreas Jung

reenabled all tests again

parent c0686e04
...@@ -97,7 +97,6 @@ class ZopePageTemplateFileTests(ZopeTestCase): ...@@ -97,7 +97,6 @@ class ZopePageTemplateFileTests(ZopeTestCase):
self.assertEqual(zpt.output_encoding, 'iso-8859-15') self.assertEqual(zpt.output_encoding, 'iso-8859-15')
def testPT_RenderWithUTF8(self): def testPT_RenderWithUTF8(self):
import pdb; pdb.set_trace()
manage_addPageTemplate(self.app, 'test', text=utf8_str, encoding='utf-8') manage_addPageTemplate(self.app, 'test', text=utf8_str, encoding='utf-8')
zpt = self.app['test'] zpt = self.app['test']
result = zpt.pt_render() result = zpt.pt_render()
...@@ -262,11 +261,10 @@ class DummyFileUpload: ...@@ -262,11 +261,10 @@ class DummyFileUpload:
def test_suite(): def test_suite():
# suite = unittest.makeSuite(ZPTRegressions) suite = unittest.makeSuite(ZPTRegressions)
suite = unittest.makeSuite(ZPTUtilsTests) suite.addTests(unittest.makeSuite(ZPTUtilsTests))
# suite.addTests(unittest.makeSuite(ZPTUtilsTests)) suite.addTests(unittest.makeSuite(ZPTMacros))
# suite.addTests(unittest.makeSuite(ZPTMacros)) suite.addTests(unittest.makeSuite(ZopePageTemplateFileTests))
# suite.addTests(unittest.makeSuite(ZopePageTemplateFileTests))
return suite return suite
if __name__ == '__main__': if __name__ == '__main__':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment