[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/tests/util.py Added the
ability to specify arguments to DB.DB.
Jim Fulton
jim at zope.com
Thu Jun 9 15:15:18 EDT 2005
Log message for revision 30723:
Added the ability to specify arguments to DB.DB.
Changed:
U ZODB/trunk/src/ZODB/tests/util.py
-=-
Modified: ZODB/trunk/src/ZODB/tests/util.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/util.py 2005-06-09 19:12:22 UTC (rev 30722)
+++ ZODB/trunk/src/ZODB/tests/util.py 2005-06-09 19:15:18 UTC (rev 30723)
@@ -22,8 +22,8 @@
from ZODB.MappingStorage import MappingStorage
from ZODB.DB import DB as _DB
-def DB(name='Test'):
- return _DB(MappingStorage(name))
+def DB(name='Test', **dbargs):
+ return _DB(MappingStorage(name), **dbargs)
def commit():
transaction.commit()
More information about the Zodb-checkins
mailing list