Commit 6ec3b089 authored by Barry Warsaw's avatar Barry Warsaw

Get rid of the autopack tests.

parent e3a0632c
...@@ -63,8 +63,3 @@ class MinimalTestBase(BerkeleyTestBase): ...@@ -63,8 +63,3 @@ class MinimalTestBase(BerkeleyTestBase):
class FullTestBase(BerkeleyTestBase): class FullTestBase(BerkeleyTestBase):
from bsddb3Storage import Full from bsddb3Storage import Full
ConcreteStorage = Full.Full ConcreteStorage = Full.Full
class AutopackTestBase(BerkeleyTestBase):
from bsddb3Storage import Autopack
ConcreteStorage = Autopack.Autopack
...@@ -72,22 +72,12 @@ class FullRecoveryTest(BerkeleyTestBase.FullTestBase, ...@@ -72,22 +72,12 @@ class FullRecoveryTest(BerkeleyTestBase.FullTestBase,
self._zap_dbhome(DST_DBHOME) self._zap_dbhome(DST_DBHOME)
class AutopackTest(BerkeleyTestBase.AutopackTestBase, BasicStorage):
def checkVersionedStoreAndLoad(self):
# This storage doesn't support versions, so we should get an exception
oid = self._storage.new_oid()
self.assertRaises(POSException.Unsupported,
self._dostore,
oid, data=11, version='a version')
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(FullTest, 'check')) suite.addTest(unittest.makeSuite(FullTest, 'check'))
suite.addTest(unittest.makeSuite(FullRecoveryTest, 'check')) suite.addTest(unittest.makeSuite(FullRecoveryTest, 'check'))
suite.addTest(unittest.makeSuite(MinimalTest, 'check')) suite.addTest(unittest.makeSuite(MinimalTest, 'check'))
#suite.addTest(unittest.makeSuite(AutopackTest, 'check'))
return suite return suite
......
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