[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_interface.py:1.5

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


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

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


=== Zope3/src/zope/app/services/tests/test_interface.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/services/tests/test_interface.py:1.4	Tue Jan 28 16:03:12 2003
+++ Zope3/src/zope/app/services/tests/test_interface.py	Tue Feb 25 16:49:24 2003
@@ -16,7 +16,8 @@
 
 from transaction import get_transaction
 
-from zodb.storage.mapping import DB
+from zodb.db import DB
+from zodb.storage.mapping import MappingStorage
 from zodb.code.module import ManagedRegistry
 
 from zope.interface import Interface
@@ -39,7 +40,7 @@
 class PersistentInterfaceTest(unittest.TestCase):
 
     def setUp(self):
-        self.db = DB()
+        self.db = DB(MappingStorage())
         self.root = self.db.open().root()
         self.registry = ManagedRegistry()
         self.root["registry"] = self.registry