[Zodb-checkins] CVS: Packages/bsddb3Storage - test_minimal.py:1.3

barry@digicool.com barry@digicool.com
Mon, 2 Apr 2001 18:36:18 -0400 (EDT)


Update of /cvs-repository/Packages/bsddb3Storage/test
In directory korak:/tmp/cvs-serv23034

Modified Files:
	test_minimal.py 
Log Message:
checkCommit(): Use PersistentMapping instead of BTree.



--- Updated File test_minimal.py in package Packages/bsddb3Storage --
--- test_minimal.py	2001/03/30 19:47:37	1.2
+++ test_minimal.py	2001/04/02 22:36:16	1.3
@@ -39,10 +39,10 @@
         
     def checkCommit(self):
         """Minimal: 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()