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

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


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

Modified Files:
      Tag: Zope-2_5-branch
	custom_zodb.py 
Log Message:
Removed dependency on Data.fs.in in unit tests.  Since Zope initializes all
products in the DemoStorage database anyway, the only thing Data.fs.in
provided was index_html.  No core test needs index_html.  If third party
tests need it, they should provide it.


=== Zope/lib/python/Testing/custom_zodb.py 1.2 => 1.2.56.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:47:06 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))