def test_getMessage(self):
        msg = "%s" % time.time()
        q = self.mq.queue("test_queue")
        q.clear()
        q.post(msg)
        message = q.get()
        message = "%s" % message["messages"][0]["body"]
        self.assertEqual(msg, message)
dataset/ETHPy150Open iron-io/iron_mq_python/test.py/TestIronMQ.test_getMessage/original