[Zope-Checkins] CVS: ZODB3/ZODB/tests - testFileStorage.py:1.32

Jeremy Hylton jeremy@zope.com
Fri, 2 May 2003 10:50:22 -0400


Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv27927/tests

Modified Files:
	testFileStorage.py 
Log Message:
Remove old test of fsrecover that depended on old recover() signature.


=== ZODB3/ZODB/tests/testFileStorage.py 1.31 => 1.32 ===
--- ZODB3/ZODB/tests/testFileStorage.py:1.31	Tue Apr 22 14:03:50 2003
+++ ZODB3/ZODB/tests/testFileStorage.py	Fri May  2 10:50:21 2003
@@ -170,25 +170,6 @@
 
         self.failUnless(self._storage._records_before_save > 20)
 
-    def checkfsrecover(self):
-        # an absolutely minimal test of fsrecover
-        # Verify that calling recover on a small, correct storage
-        # produces a duplicate of the original.
-        for i in range(5):
-            oid = self._storage.new_oid()
-            revid = None
-            for j in range(5):
-                revid = self._dostore(oid, revid=revid)
-        
-        temp = sys.stdout
-        sys.stdout = StringIO.StringIO()
-        try:
-            recover(["", "FileStorageTests.fs", "fsrecover.fs"])
-        finally:
-            sys.stdout = temp
-        self.assert_(filecmp.cmp("FileStorageTests.fs", "fsrecover.fs"))
-        StorageTestBase.removefs("fsrecover.fs")
-
     # There are a bunch of tests that the current pack() implementation
     # does not past.  We need to fix pack(), but don't want tests to
     # fail until then.