[Zope3-checkins] CVS: Zope3/src/zodb/code/tests - test_module.py:1.13.26.5

Jim Fulton jim at zope.com
Sun Feb 1 10:07:15 EST 2004


Update of /cvs-repository/Zope3/src/zodb/code/tests
In directory cvs.zope.org:/tmp/cvs-serv1470/src/zodb/code/tests

Modified Files:
      Tag: zope3-zodb3-devel-branch
	test_module.py 
Log Message:
Added a database close call. Tests should *always* close any databases
they open.


=== Zope3/src/zodb/code/tests/test_module.py 1.13.26.4 => 1.13.26.5 ===
--- Zope3/src/zodb/code/tests/test_module.py:1.13.26.4	Fri Jan 30 11:16:52 2004
+++ Zope3/src/zodb/code/tests/test_module.py	Sun Feb  1 10:07:14 2004
@@ -100,6 +100,7 @@
         self.importer.uninstall()
         # just in case
         get_transaction().abort()
+        self.db.close()
 
     def sameModules(self, registry):
         m1 = self.registry.modules()




More information about the Zope3-Checkins mailing list