Reporter for trial's distributed workers. We send things not through a stream, but through an AMP protocol's callRemote method.

Method __init__
Method addSuccess Send a success over.
Method addError Send an error over.
Method addFailure Send a Failure over.
Method addSkip Send a skip over.
Method addExpectedFailure Send an expected failure over.
Method addUnexpectedSuccess Send an unexpected success over.
Method printSummary Don't print a summary
Instance Variable _DEFAULT_TODO Default message for expected failures and unexpected successes, used only if a Todo is not provided.
Method _getFailure Convert a sys.exc_info()-style tuple to a Failure, if necessary.
Method _getFrames Extract frames from a Failure instance.
Method _getTodoReason Get the reason for a Todo.

Inherited from TestResult:

Instance Variable successes count the number of successes achieved by the test run. (type: int)
Method __repr__ Undocumented
Method startTest This must be called before the given test is commenced.
Method stopTest This must be called after the given test is completed.
Method wasSuccessful Report whether or not this test suite was successful or not.
Method done The test suite has finished running.
Method _getTime Undocumented
_DEFAULT_TODO =
Default message for expected failures and unexpected successes, used only if a Todo is not provided.
def __init__(self, ampProtocol):
ParametersampProtocolThe communication channel with the trial distributed manager which collects all test results. (type: AMP)
def _getFailure(self, error):

Convert a sys.exc_info()-style tuple to a Failure, if necessary.

def _getFrames(self, failure):

Extract frames from a Failure instance.

def addSuccess(self, test):
def addError(self, test, error):
def addFailure(self, test, fail):
def addSkip(self, test, reason):
def _getTodoReason(self, todo):

Get the reason for a Todo.

If todo is None, return a sensible default.

def addExpectedFailure(self, test, error, todo=None):
def addUnexpectedSuccess(self, test, todo=None):
def printSummary(self):

Don't print a summary

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