[Zodb-checkins] CVS: Packages/bsddb3Storage - test_full.py:1.2
barry@digicool.com
barry@digicool.com
Mon, 2 Apr 2001 18:35:55 -0400 (EDT)
Update of /cvs-repository/Packages/bsddb3Storage/test
In directory korak:/tmp/cvs-serv22960
Modified Files:
test_full.py
Log Message:
checkCommit(): Use PersistentMapping instead of BTree.
--- Updated File test_full.py in package Packages/bsddb3Storage --
--- test_full.py 2001/03/30 19:39:01 1.1
+++ test_full.py 2001/04/02 22:35:52 1.2
@@ -39,10 +39,10 @@
def checkCommit(self):
"""Full: On an empty database, commit some data"""
- from BTree import BTree
+ from Persistence import PersistentMapping
assert not self._root
- names = self._root['names'] = BTree()
+ names = self._root['names'] = PersistentMapping()
names['Warsaw'] = 'Barry'
names['Hylton'] = 'Jeremy'
get_transaction().commit()