@inlineCallbacks
def test_outbound_unicode(self):
    (yield self.get_transport())
    content = 'One, two, ... five!'
    ussd_string = '*1234#'
    d = self.tx_helper.mk_request(request=content, to_addr=ussd_string)
    [msg] = (yield self.tx_helper.wait_for_dispatched_inbound(1))
    reply_content = 'Thrëë, my lord.'
    reply = msg.reply(reply_content, continue_session=True)
    self.tx_helper.dispatch_outbound(reply)
    response = (yield d)
    self.assert_outbound_message(response.delivered_body, reply_content, self.callback_url(ussd_string), continue_session=True)
    [ack] = (yield self.tx_helper.wait_for_dispatched_events(1))
    self.assert_ack(ack, reply)
@inlineCallbacks
def test_outbound_unicode(self):
    (yield self.get_transport())
    content = 'One, two, ... five!'
    ussd_string = '*1234#'
    d = self.tx_helper.mk_request(request=content, to_addr=ussd_string)
    [msg] = (yield self.tx_helper.wait_for_dispatched_inbound(1))
    reply_content = 'Thrëë, my lord.'
    reply = msg.reply(reply_content, continue_session=True)
    self.tx_helper.dispatch_outbound(reply)
    response = (yield d)
    self.assert_outbound_message(response.delivered_body, reply_content, self.callback_url(ussd_string), continue_session=True)
    [ack] = (yield self.tx_helper.wait_for_dispatched_events(1))
    self.assert_ack(ack, reply)