[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/appsetup/ Add
missing cleanup code to zope.app.appsetup unit tests.
Marius Gedminas
marius at pov.lt
Sat Jan 20 08:22:58 EST 2007
Log message for revision 72139:
Add missing cleanup code to zope.app.appsetup unit tests.
Changed:
U Zope3/trunk/src/zope/app/appsetup/bootstrap.txt
U Zope3/trunk/src/zope/app/appsetup/tests.py
-=-
Modified: Zope3/trunk/src/zope/app/appsetup/bootstrap.txt
===================================================================
--- Zope3/trunk/src/zope/app/appsetup/bootstrap.txt 2007-01-20 13:12:48 UTC (rev 72138)
+++ Zope3/trunk/src/zope/app/appsetup/bootstrap.txt 2007-01-20 13:22:57 UTC (rev 72139)
@@ -79,3 +79,6 @@
>>> print handler
<BLANKLINE>
+Clean up:
+
+ >>> handler.uninstall()
Modified: Zope3/trunk/src/zope/app/appsetup/tests.py
===================================================================
--- Zope3/trunk/src/zope/app/appsetup/tests.py 2007-01-20 13:12:48 UTC (rev 72138)
+++ Zope3/trunk/src/zope/app/appsetup/tests.py 2007-01-20 13:22:57 UTC (rev 72139)
@@ -54,6 +54,7 @@
self.db = DB()
def tearDown(self):
+ transaction.abort()
PlacefulSetup.tearDown(self)
self.db.close()
More information about the Zope3-Checkins
mailing list