def test_get_transactional(self):
    self.assertFalse(self.db.get_transactional())
    self.db.open('XXX', dbtype=db.DB_HASH, flags=(db.DB_CREATE | db.DB_AUTO_COMMIT))
    self.assertTrue(self.db.get_transactional())
def test_get_transactional(self):
    self.assertFalse(self.db.get_transactional())
    self.db.open('XXX', dbtype=db.DB_HASH, flags=(db.DB_CREATE | db.DB_AUTO_COMMIT))
    self.assertTrue(self.db.get_transactional())