[Zope3-checkins] CVS: Zope3/src/ZODB/tests - testBroken.py:1.3

Jim Fulton jim at zope.com
Thu Mar 4 17:41:59 EST 2004


Update of /cvs-repository/Zope3/src/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv4003/src/ZODB/tests

Modified Files:
	testBroken.py 
Log Message:
Added missing test cleanup code


=== Zope3/src/ZODB/tests/testBroken.py 1.2 => 1.3 ===
--- Zope3/src/ZODB/tests/testBroken.py:1.2	Wed Feb 25 08:06:12 2004
+++ Zope3/src/ZODB/tests/testBroken.py	Thu Mar  4 17:41:53 2004
@@ -71,8 +71,15 @@
     >>> a3.__Broken_state__
     {'x': 1}
     
+    Let's clean up:
 
     >>> db.close()
+    >>> del sys.modules['ZODB.not']
+
+    Cleanup:
+
+    >>> import ZODB.broken
+    >>> ZODB.broken.broken_cache.clear()
     """
 
 def test_suite():




More information about the Zope3-Checkins mailing list