[Zope-Checkins] CVS: Zope/lib/python/Testing - custom_zodb.py:1.2.134.1

Shane Hathaway shane@cvs.zope.org
Thu, 12 Sep 2002 11:49:22 -0400


Update of /cvs-repository/Zope/lib/python/Testing
In directory cvs.zope.org:/tmp/cvs-serv29136

Modified Files:
      Tag: Zope-2_6-branch
	custom_zodb.py 
Log Message:
Merge from 2_5 branch.  Removed dependency on Data.fs.in in unit tests.


=== Zope/lib/python/Testing/custom_zodb.py 1.2 => 1.2.134.1 ===
--- Zope/lib/python/Testing/custom_zodb.py:1.2	Mon Aug  6 13:20:30 2001
+++ Zope/lib/python/Testing/custom_zodb.py	Thu Sep 12 11:49:21 2002
@@ -1,7 +1,4 @@
-import ZODB, os
-from ZODB.FileStorage import FileStorage
+import ZODB
 from ZODB.DemoStorage import DemoStorage
 
-dfi = os.path.join(SOFTWARE_HOME, '..', '..', 'var', 'Data.fs.in')
-dfi = os.path.abspath(dfi)
-Storage = DemoStorage(base=FileStorage(dfi, read_only=1), quota=(1<<20))
+Storage = DemoStorage(quota=(1<<20))