Go to the latest version of this document.

# ``twisted`.`trial`.`_dist`.`distreporter`.`DistReporter``

class documentation

`class DistReporter(proxyForInterface(IReporterWithDurations)): (source)`

Constructor: `DistReporter(original)`

Implements interfaces: `twisted.trial.itrial.IReporterWithDurations`

View In Hierarchy

See module docstring.

Method | `__init__` | Undocumented
Method | `addError` | Queue error adding.
Method | `addExpectedFailure` | Queue adding an expected failure.
Method | `addFailure` | Queue adding a failure.
Method | `addSkip` | Queue adding a skip.
Method | `addSuccess` | Queue adding a success.
Method | `addUnexpectedSuccess` | Queue adding an unexpected success.
Method | `startTest` | Queue test starting.
Method | `stopTest` | Queue stopping the test, then unroll the queue.
Instance Variable | `running` | Undocumented

def __init__(self, original): (source)

Undocumented

def addError(self, test: `ITestCase`, error: `ReporterFailure`): (source)
from `twisted.trial.itrial.IReporter`

Queue error adding.

def addExpectedFailure(self, test: `ITestCase`, error: `ReporterFailure`, todo: `str | None` = None): (source)
from `twisted.trial.itrial.IReporter`

Queue adding an expected failure.

def addFailure(self, test: `ITestCase`, fail: `ReporterFailure`): (source)
from `twisted.trial.itrial.IReporter`

Queue adding a failure.

def addSkip(self, test, reason): (source)
from `twisted.trial.itrial.IReporter`

Queue adding a skip.

def addSuccess(self, test): (source)
from `twisted.trial.itrial.IReporter`

Queue adding a success.

def addUnexpectedSuccess(self, test, todo=None): (source)
from `twisted.trial.itrial.IReporter`

Queue adding an unexpected success.

def startTest(self, test): (source)
from `twisted.trial.itrial.IReporter`

Queue test starting.

def stopTest(self, test): (source)
from `twisted.trial.itrial.IReporter`

Queue stopping the test, then unroll the queue.

running: `dict` = (source)

Undocumented