[Zodb-checkins] CVS: StandaloneZODB/ZODB/tests - testFileStorage.py:1.16
Jeremy Hylton
jeremy@zope.com
Fri, 25 Jan 2002 11:22:55 -0500
Update of /cvs-repository/StandaloneZODB/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv22271
Modified Files:
testFileStorage.py
Log Message:
Remove dependence on StorageTestBase setUp() and tearDown().
=== StandaloneZODB/ZODB/tests/testFileStorage.py 1.15 => 1.16 ===
def setUp(self):
- StorageTestBase.StorageTestBase.setUp(self)
self.open(create=1)
def tearDown(self):
- StorageTestBase.StorageTestBase.tearDown(self)
+ self._storage.close()
for ext in '', '.old', '.tmp', '.lock', '.index':
path = 'FileStorageTests.fs' + ext
if os.path.exists(path):
@@ -55,12 +54,11 @@
):
def setUp(self):
- StorageTestBase.StorageTestBase.setUp(self)
self._storage = ZODB.FileStorage.FileStorage('Source.fs')
self._dst = ZODB.FileStorage.FileStorage('Dest.fs')
def tearDown(self):
- StorageTestBase.StorageTestBase.tearDown(self)
+ self._storage.close()
self._dst.close()
for ext in '', '.old', '.tmp', '.lock', '.index':
for fs in 'Source', 'Dest':