[Zope-Checkins] CVS: Zope/lib/python/ZODB/tests - util.py:1.3

Jeremy Hylton jeremy at zope.com
Thu Feb 19 13:24:01 EST 2004


Update of /cvs-repository/Zope/lib/python/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv20633/lib/python/ZODB/tests

Modified Files:
	util.py 
Log Message:
Use MappingStorage instead of DemoStorage.

DemoStorage is too frail to bother using.


=== Zope/lib/python/ZODB/tests/util.py 1.2 => 1.3 ===
--- Zope/lib/python/ZODB/tests/util.py:1.2	Wed Feb 18 21:59:10 2004
+++ Zope/lib/python/ZODB/tests/util.py	Thu Feb 19 13:24:00 2004
@@ -18,7 +18,7 @@
 
 import time
 import persistent
-from ZODB.DemoStorage import DemoStorage
+from ZODB.MappingStorage import MappingStorage
 from ZODB.DB import DB as _DB
 try:
     from transaction import get_transaction
@@ -26,7 +26,7 @@
     pass # else assume ZODB will install it as a builtin
 
 def DB(name='Test'):
-    return _DB(DemoStorage(name))
+    return _DB(MappingStorage(name))
 
 def commit():
     get_transaction().commit()




More information about the Zope-Checkins mailing list