

@defer.inlineCallbacks
def stopConnector(self, connector):
    (yield self.SMPPClientManagerPBProxy.stop(connector.cid))
    while True:
        ssRet = (yield self.SMPPClientManagerPBProxy.session_state(connector.cid))
        if (ssRet == 'NONE'):
            break
        else:
            time.sleep(0.2)

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