def test_get_open_flags2(self):
    self.db.open(self.path, dbtype=db.DB_HASH, flags=(db.DB_CREATE | db.DB_THREAD))
    self.assertEqual((db.DB_CREATE | db.DB_THREAD), self.db.get_open_flags())
def test_get_open_flags2(self):
    self.db.open(self.path, dbtype=db.DB_HASH, flags=(db.DB_CREATE | db.DB_THREAD))
    self.assertEqual((db.DB_CREATE | db.DB_THREAD), self.db.get_open_flags())