[Zope-Checkins] CVS: Zope/lib/python/AccessControl/tests - testBindings.py:1.4

Brian Lloyd brian at zope.com
Tue Jan 27 13:37:24 EST 2004


Update of /cvs-repository/Zope/lib/python/AccessControl/tests
In directory cvs.zope.org:/tmp/cvs-serv19227/lib/python/AccessControl/tests

Modified Files:
	testBindings.py 
Log Message:
merge test fix


=== Zope/lib/python/AccessControl/tests/testBindings.py 1.3 => 1.4 ===
--- Zope/lib/python/AccessControl/tests/testBindings.py:1.3	Wed Jan 21 14:05:33 2004
+++ Zope/lib/python/AccessControl/tests/testBindings.py	Tue Jan 27 13:37:24 2004
@@ -81,7 +81,8 @@
     def setUp(self):
         from Testing.ZODButil import makeDB
         get_transaction().begin()
-        self.connection = makeDB().open()
+        self.db = makeDB()
+        self.connection = self.db.open()
 
     def tearDown(self):
         from Testing.ZODButil import cleanDB
@@ -89,6 +90,7 @@
         noSecurityManager()
         get_transaction().abort()
         self.connection.close()
+        self.db.close()
         cleanDB()
 
     def _getRoot(self):




More information about the Zope-Checkins mailing list