def assert_ack(self, ack, reply):
    self.assertEqual(ack.payload['event_type'], 'ack')
    self.assertEqual(ack.payload['user_message_id'], reply['message_id'])
    self.assertEqual(ack.payload['sent_message_id'], reply['message_id'])
def assert_ack(self, ack, reply):
    self.assertEqual(ack.payload['event_type'], 'ack')
    self.assertEqual(ack.payload['user_message_id'], reply['message_id'])
    self.assertEqual(ack.payload['sent_message_id'], reply['message_id'])