Commit afcccf13 authored by Barry Warsaw's avatar Barry Warsaw

new_dest(): Refactored helper which removes the old destination

storage and creates a new one.  We need this here so Berkeley storage
tests can do something different.
parent a88513e3
......@@ -72,6 +72,10 @@ class FileStorageRecoveryTest(
StorageTestBase.removefs("Source.fs")
StorageTestBase.removefs("Dest.fs")
def new_dest(self):
StorageTestBase.removefs('Dest.fs')
return ZODB.FileStorage.FileStorage('Dest.fs')
def test_suite():
suite = unittest.makeSuite(FileStorageTests, 'check')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment