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