

def test_sendIntentToTransport(self):
    testIntent = TransmitIntent(ActorAddress(None), 'message', self.successCB, self.failureCB)
    self.testTrans.scheduleTransmit(None, testIntent)
    self.assertEqual(1, len(self.testTrans.intents))

dataset/ETHPy150Open godaddy/Thespian/thespian/system/transport/test/test_asyncBase.py TestAsyncTransportBase.test_sendIntentToTransport/original