[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests - test_contained.py:1.2.10.1

Jim Fulton jim at zope.com
Fri Jan 9 17:24:19 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/container/tests
In directory cvs.zope.org:/tmp/cvs-serv25080/src/zope/app/container/tests

Modified Files:
      Tag: zope3-zodb3-devel-branch
	test_contained.py 
Log Message:
Checkpointing to the branch after beginning the process of removing
zodb 4 code. 

Lots of things are now broken. :)




=== Zope3/src/zope/app/container/tests/test_contained.py 1.2 => 1.2.10.1 ===
--- Zope3/src/zope/app/container/tests/test_contained.py:1.2	Sun Sep 21 13:31:31 2003
+++ Zope3/src/zope/app/container/tests/test_contained.py	Fri Jan  9 17:23:49 2004
@@ -15,8 +15,8 @@
 from zope.testing.doctestunit import DocTestSuite
 from zope.app.tests.placelesssetup import setUp, tearDown
 from zope.app.container.contained import ContainedProxy
-from zodb.storage.memory import MemoryMinimalStorage
-from zodb.db import DB
+from ZODB.DemoStorage import DemoStorage
+from ZODB.DB import DB
 from transaction import get_transaction
 from persistence import Persistent
 
@@ -55,7 +55,7 @@
     >>> p = ContainedProxy([1])
     >>> p.__parent__ = 2;
     >>> p.__name__ = 'test'
-    >>> db = DB(MemoryMinimalStorage('test_storage'));
+    >>> db = DB(DemoStorage('test_storage'));
     >>> c = db.open()
     >>> c.root()['p'] = p
     >>> get_transaction().commit()
@@ -109,7 +109,7 @@
 
     Now we'll save the data:
     
-    >>> db = DB(MemoryMinimalStorage('test_storage'));
+    >>> db = DB(DemoStorage('test_storage'));
     >>> c1 = db.open()
     >>> c1.root()['parent'] = parent
     >>> c1.root()['other'] = other




More information about the Zope3-Checkins mailing list