Log message for revision 71857: The setUp and tearDown methods are owned by ZopeTestCase.
Changed: U Zope/branches/2.10/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py -=- Modified: Zope/branches/2.10/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py =================================================================== --- Zope/branches/2.10/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py 2007-01-10 12:22:48 UTC (rev 71856) +++ Zope/branches/2.10/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py 2007-01-10 12:23:57 UTC (rev 71857) @@ -86,17 +86,11 @@ class ZPTUnicodeEncodingConflictResolution(ZopeTestCase): - def setUp(self): - super(ZPTUnicodeEncodingConflictResolution, self).setUp() + def afterSetUp(self): zope.component.provideAdapter(DefaultTraversable, (None,)) zope.component.provideAdapter(HTTPCharsets, (None,)) provideUtility(PreferredCharsetResolver, IUnicodeEncodingConflictResolver) - transaction.begin() - def tearDown(self): - transaction.abort() - self.app._p_jar.close() - def testISO_8859_15(self): manage_addPageTemplate(self.app, 'test', text='<div tal:content="python: request.get(\'data\')" />', _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins