[Zodb-checkins] CVS: StandaloneZODB/ZODB/tests - testMappingStorage.py:1.1

Jeremy Hylton jeremy@zope.com
Mon, 15 Oct 2001 18:08:29 -0400


Update of /cvs-repository/StandaloneZODB/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv1618

Added Files:
	testMappingStorage.py 
Log Message:
New test


=== Added File StandaloneZODB/ZODB/tests/testMappingStorage.py ===
import ZODB.MappingStorage
import os, unittest

from ZODB.tests import StorageTestBase, BasicStorage, Synchronization

class MappingStorageTests(StorageTestBase.StorageTestBase,
                       BasicStorage.BasicStorage,
                       Synchronization.SynchronizedStorage,
                       ):

    def setUp(self):
        self._storage = ZODB.MappingStorage.MappingStorage()
        StorageTestBase.StorageTestBase.setUp(self)

def test_suite():
    suite = unittest.makeSuite(MappingStorageTests, 'check')
    return suite

if __name__ == "__main__":
    loader = unittest.TestLoader()
    loader.testMethodPrefix = "check"
    unittest.main(testLoader=loader)