This is a fake implementation of the 'box sender' interface implied by AMP.

Method __init__ Create a fake sender and initialize the list of received boxes and unhandled errors.
Method expectError Expect one error, so that the test doesn't fail.
Method sendBox Accept a box, but don't do anything.
Method unhandledError Deal with failures by instantly re-raising them for easier debugging.
def __init__(self):

Create a fake sender and initialize the list of received boxes and unhandled errors.

def expectError(self):

Expect one error, so that the test doesn't fail.

def sendBox(self, box):

Accept a box, but don't do anything.

def unhandledError(self, failure):

Deal with failures by instantly re-raising them for easier debugging.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.