[Zodb-checkins] CVS: Zope3/src/zope/testing - functional.py:1.17

Fred L. Drake, Jr. fred at zope.com
Fri Feb 20 11:58:27 EST 2004


Update of /cvs-repository/Zope3/src/zope/testing
In directory cvs.zope.org:/tmp/cvs-serv22507/src/zope/testing

Modified Files:
	functional.py 
Log Message:


update to replace ZODB 4 with ZODB 3


=== Zope3/src/zope/testing/functional.py 1.16 => 1.17 ===
--- Zope3/src/zope/testing/functional.py:1.16	Mon Sep 22 16:30:16 2003
+++ Zope3/src/zope/testing/functional.py	Fri Feb 20 11:57:37 2004
@@ -26,9 +26,8 @@
 from StringIO import StringIO
 
 from transaction import get_transaction
-from zodb.db import DB
-from zodb.storage.memory import MemoryFullStorage
-from zodb.storage.demo import DemoStorage
+from ZODB.DB import DB
+from ZODB.DemoStorage import DemoStorage
 from zope.app import Application
 from zope.app.publication.zopepublication import ZopePublication
 from zope.app.publication.http import HTTPPublication
@@ -92,7 +91,7 @@
             self.log = StringIO()
             # Make it silent but keep the log available for debugging
             logging.root.addHandler(logging.StreamHandler(self.log))
-            self.base_storage = MemoryFullStorage("Memory Storage")
+            self.base_storage = DemoStorage("Memory Storage")
             self.db = DB(self.base_storage)
             self.app = Application(self.db, config_file)
             self.connection = None




More information about the Zodb-checkins mailing list