[Zope-Checkins] CVS: ZODB3/ZODB/tests - RecoveryStorage.py:1.5
Barry Warsaw
barry@wooz.org
Fri, 6 Dec 2002 16:17:43 -0500
Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv1943
Modified Files:
RecoveryStorage.py
Log Message:
Port a name error fix from ZODB4.
=== ZODB3/ZODB/tests/RecoveryStorage.py 1.4 => 1.5 ===
--- ZODB3/ZODB/tests/RecoveryStorage.py:1.4 Fri Dec 6 12:20:52 2002
+++ ZODB3/ZODB/tests/RecoveryStorage.py Fri Dec 6 16:17:43 2002
@@ -16,6 +16,7 @@
from ZODB.Transaction import Transaction
from ZODB.tests.IteratorStorage import IteratorDeepCompare
from ZODB.tests.StorageTestBase import MinPO, zodb_unpickle, removefs
+from ZODB.FileStorage import FileStorage
class RecoveryStorage(IteratorDeepCompare):
@@ -122,6 +123,6 @@
# This time we will be able to confirm via compare().
self._dst.close()
removefs("Dest.fs")
- self._dst = ZODB.FileStorage.FileStorage('Dest.fs')
+ self._dst = FileStorage('Dest.fs')
self._dst.copyTransactionsFrom(self._storage)
self.compare(self._storage, self._dst)