[Zodb-checkins] CVS: StandaloneZODB/ZODB/tests - Corruption.py:1.2.48.1 testDemoStorage.py:1.2.26.1 testFileStorage.py:1.13.24.4 testMappingStorage.py:1.1.26.1
Jeremy Hylton
jeremy@zope.com
Tue, 15 Jan 2002 11:08:25 -0500
Update of /cvs-repository/StandaloneZODB/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv15233
Modified Files:
Tag: Standby-branch
Corruption.py testDemoStorage.py testFileStorage.py
testMappingStorage.py
Log Message:
Call StorageTestBase setUp() before initializing _storage.
=== StandaloneZODB/ZODB/tests/Corruption.py 1.2 => 1.2.48.1 ===
def setUp(self):
+ self.__super_setUp()
self.path = tempfile.mktemp()
self._storage = ZODB.FileStorage.FileStorage(self.path, create=1)
- self.__super_setUp()
def tearDown(self):
self.__super_tearDown()
=== StandaloneZODB/ZODB/tests/testDemoStorage.py 1.2 => 1.2.26.1 ===
def setUp(self):
- self._storage = ZODB.DemoStorage.DemoStorage()
StorageTestBase.StorageTestBase.setUp(self)
+ self._storage = ZODB.DemoStorage.DemoStorage()
def test_suite():
suite = unittest.makeSuite(DemoStorageTests, 'check')
=== StandaloneZODB/ZODB/tests/testFileStorage.py 1.13.24.3 => 1.13.24.4 ===
def setUp(self):
- self.open(create=1)
StorageTestBase.StorageTestBase.setUp(self)
+ self.open(create=1)
def tearDown(self):
StorageTestBase.StorageTestBase.tearDown(self)
=== StandaloneZODB/ZODB/tests/testMappingStorage.py 1.1 => 1.1.26.1 ===
def setUp(self):
- self._storage = ZODB.MappingStorage.MappingStorage()
StorageTestBase.StorageTestBase.setUp(self)
+ self._storage = ZODB.MappingStorage.MappingStorage()
def test_suite():
suite = unittest.makeSuite(MappingStorageTests, 'check')