[Zope-Checkins] SVN: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py Proper test clean up

Philipp von Weitershausen philikon at philikon.de
Sun May 21 09:48:14 EDT 2006


Log message for revision 68212:
  Proper test clean up
  

Changed:
  U   Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py

-=-
Modified: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py
===================================================================
--- Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py	2006-05-21 13:45:23 UTC (rev 68211)
+++ Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py	2006-05-21 13:48:14 UTC (rev 68212)
@@ -87,8 +87,12 @@
     This is in the slot
   </p>
 </div>
-"""       
+"""
 
+    def tearDown(self):
+        transaction.abort()
+        self.app._p_jar.close()
+
     def testMacroExpansion(self):
         request = self.app.REQUEST        
         self._addPT('pt1', text=self.text, REQUEST=request)



More information about the Zope-Checkins mailing list