def test_deleteReservedMessage(self):
        msg = "%s" % time.time()
        q = self.mq.queue("test_queue")
        q.clear()
        id = q.post(msg)
        message = q.reserve(1, 60)
        self.assertEqual(1, q.size())
        reservation_id = message["messages"][0]["reservation_id"]
        q.delete(id["ids"][0], reservation_id)
        self.assertEqual(0, q.size())
dataset/ETHPy150Open iron-io/iron_mq_python/test.py/TestIronMQ.test_deleteReservedMessage/original