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

Jim Fulton jim at zope.com
Fri Jan 30 11:16:56 EST 2004


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

Modified Files:
      Tag: zope3-zodb3-devel-branch
	functional.py 
Log Message:
Changed to use DemoStorage rather than ZODB4's MemoryFullStorage.


=== Zope3/src/zope/testing/functional.py 1.16 => 1.16.10.1 ===
--- Zope3/src/zope/testing/functional.py:1.16	Mon Sep 22 16:30:16 2003
+++ Zope3/src/zope/testing/functional.py	Fri Jan 30 11:16:55 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 Zope3-Checkins mailing list