def METHOD_NAME(self):
    self.seq = db.DBSequence(self.d, flags=0)
    flag = db.DB_SEQ_WRAP;
    self.assertEqual(None, self.seq.set_flags(flag))
    self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE))
    self.assertEqual(flag, self.seq.get_flags() & flag)