[Zodb-checkins] CVS: ZODB4/ZODB/tests - RecoveryStorage.py:1.3

Barry Warsaw barry@wooz.org
Fri, 6 Dec 2002 14:51:31 -0500


Update of /cvs-repository/ZODB4/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv19585

Modified Files:
	RecoveryStorage.py 
Log Message:
These tests couldn't run because of some name errors.


=== ZODB4/ZODB/tests/RecoveryStorage.py 1.2 => 1.3 ===
--- ZODB4/ZODB/tests/RecoveryStorage.py:1.2	Thu Dec  5 19:02:13 2002
+++ ZODB4/ZODB/tests/RecoveryStorage.py	Fri Dec  6 14:51:31 2002
@@ -18,7 +18,8 @@
 
 from ZODB.ZTransaction import Transaction
 from ZODB.tests.IteratorStorage import IteratorDeepCompare
-from ZODB.tests.StorageTestBase import MinPO, zodb_unpickle
+from ZODB.tests.StorageTestBase import MinPO, zodb_unpickle, removefs
+from ZODB.FileStorage import FileStorage
 
 
 class RecoveryStorage(IteratorDeepCompare):
@@ -124,7 +125,7 @@
         # Now remove _dst and copy all the transactions a second time.
         # This time we will be able to confirm via compare().
         self._dst.close()
-        StorageTestBase.removefs("Dest.fs")
-        self._dst = ZODB.FileStorage.FileStorage('Dest.fs')
+        removefs("Dest.fs")
+        self._dst = FileStorage('Dest.fs')
         self._dst.copyTransactionsFrom(self._storage)
         self.compare(self._storage, self._dst)