[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_zopepublication.py:1.8

Jeremy Hylton jeremy@zope.com
Tue, 25 Feb 2003 16:49:54 -0500


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

Modified Files:
	test_zopepublication.py 
Log Message:
Track removal of DB helper functions from storage implementations.


=== Zope3/src/zope/app/publication/tests/test_zopepublication.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/publication/tests/test_zopepublication.py:1.7	Thu Feb  6 08:00:53 2003
+++ Zope3/src/zope/app/publication/tests/test_zopepublication.py	Tue Feb 25 16:49:22 2003
@@ -17,7 +17,8 @@
 from zope.interface.verify import verifyClass
 from zope.interface.implements import instancesOfObjectImplements
 
-from zodb.storage.mapping import DB
+from zodb.db import DB
+from zodb.storage.mapping import MappingStorage
 
 from zope.app.tests.placelesssetup import PlacelessSetup
 from zope.component.adapter import provideAdapter
@@ -55,7 +56,7 @@
         self.policy = setSecurityPolicy(
             simplepolicies.PermissiveSecurityPolicy()
             )
-        self.db = DB("foo")
+        self.db = DB(MappingStorage("foo"))
 
         connection = self.db.open()
         root = connection.root()