Log message for revision 71859:
  The setUp and tearDown methods are owned by ZopeTestCase.
  

Changed:
  U   Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py

-=-
Modified: 
Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py  
2007-01-10 12:24:01 UTC (rev 71858)
+++ Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py  
2007-01-10 12:24:08 UTC (rev 71859)
@@ -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

Reply via email to