def forTestingCompleteAPendingIntent(self, result):
        for I in self.intents:
            if I.result is None:
                I.result = result
                I.completionCallback()
                return
dataset/ETHPy150Open godaddy/Thespian/thespian/system/transport/test/test_asyncBase.py/FakeTransport.forTestingCompleteAPendingIntent/original