[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/dav/tests/test_proppatch.py Add missing unit test cleanup code to zope.app.dav.

Marius Gedminas marius at pov.lt
Sat Jan 20 07:37:56 EST 2007


Log message for revision 72126:
  Add missing unit test cleanup code to zope.app.dav.
  
  

Changed:
  U   Zope3/trunk/src/zope/app/dav/tests/test_proppatch.py

-=-
Modified: Zope3/trunk/src/zope/app/dav/tests/test_proppatch.py
===================================================================
--- Zope3/trunk/src/zope/app/dav/tests/test_proppatch.py	2007-01-20 12:28:24 UTC (rev 72125)
+++ Zope3/trunk/src/zope/app/dav/tests/test_proppatch.py	2007-01-20 12:37:56 UTC (rev 72126)
@@ -13,7 +13,7 @@
 ##############################################################################
 """Test the dav PROPPATCH interactions.
 
-$Id: test_directives.py 27844 2004-10-09 15:37:29Z mj $
+$Id$
 """
 __docformat__ = 'restructuredtext'
 
@@ -174,7 +174,9 @@
         transaction.commit()
 
     def tearDown(self):
+        transaction.abort()
         self.db.close()
+        PlacefulSetup.tearDown(self)
 
     def test_contenttype1(self):
         file = self.file



More information about the Zope3-Checkins mailing list