

@defer.inlineCallbacks
def triggerDeliverSmFromSMSC(self, pdus):
    for pdu in pdus:
        (yield self.SMSCPort.factory.lastClient.trigger_deliver_sm(pdu))
    exitDeferred = defer.Deferred()
    reactor.callLater(2, exitDeferred.callback, None)
    (yield exitDeferred)

dataset/ETHPy150Open jookies/jasmin/jasmin/routing/test/test_routing_deliver_sm.py DeliverSmHttpThrowingTestCases.triggerDeliverSmFromSMSC/original