[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_module.py:1.3

Jim Fulton jim@zope.com
Thu, 9 Jan 2003 08:51:24 -0500


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

Modified Files:
	test_module.py 
Log Message:
Changed to use MappingStorage top avoid temporary file management
(including locking) issues.


=== Zope3/src/zope/app/services/tests/test_module.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/services/tests/test_module.py:1.2	Tue Dec 31 13:41:47 2002
+++ Zope3/src/zope/app/services/tests/test_module.py	Thu Jan  9 08:51:20 2003
@@ -33,7 +33,7 @@
 from zope.component.service import serviceManager
 from zope.proxy.context import ContextWrapper as cw
 from zope.app.services.module import Manager
-from zodb.storage.file import FileStorage
+from zodb.storage.mapping import MappingStorage
 from zodb.db import DB
 from transaction import get_transaction
 
@@ -68,7 +68,7 @@
                     "x=1\n"
                     )
 
-        db = DB(FileStorage('test.fs', create=1))
+        db = DB(MappingStorage())
         conn = db.open()
         root = conn.root()
         root['Application'] = self.rootFolder