def tearDownClass(cls): cls.e = None rm_rf('test.lmdb')
def tearDownClass(cls): cls.e.abort() cls.engine.close() cls.e = None rm_rf('test.ldb')
def _setUpClass(cls): rm_rf('test.lmdb') cls.env = lmdb.open('test.lmdb') cls.engine = acid.engines.LmdbEngine(cls.env) cls.e = cls.engine.begin(write=True)
def _setUpClass(cls): rm_rf('test.ldb') cls.engine = acid.engines.PlyvelEngine( name='test.ldb', create_if_missing=True) cls.e = cls.engine.begin(write=True)
def _setUpClass(cls): rm_rf('test.ldb') cls.engine = acid.engines.PlyvelEngine(name='test.ldb', create_if_missing=True) cls.e = cls.engine.begin(write=True)