module documentation
(source)

Defines classes that handle the results of tests.
Class ​Broken​Test​Case​Warning Emitted as a warning when an exception occurs in one of setUp or tearDown.
Class ​Minimal​Reporter A minimalist reporter that prints only a summary of the test result, in the form of (timeTaken, #tests, #tests, #errors, #failures, #skips).
Class ​Reporter A basic TestResult with support for writing to a stream.
Class ​Safe​Stream Wraps a stream object so that all write calls are wrapped in untilConcludes.
Class ​Subunit​Reporter Reports test output via Subunit.
Class ​Test​Result Accumulates the results of several twisted.trial.unittest.TestCases.
Class ​Test​Result​Decorator Base class for TestResult decorators.
Class ​Text​Reporter Simple reporter that prints a single character for each test as it runs, along with the standard Trial summary text.
Class ​Timing​Text​Reporter Prints out each test as it is running, followed by the time taken for each test to run.
Class ​Tree​Reporter Print out the tests in the form a tree.
Class ​Unclean​Warnings​Reporter​Wrapper A wrapper for a reporter that converts util.DirtyReactorAggregateErrors to warnings.
Class ​Verbose​Text​Reporter A verbose reporter that prints the name of each test as it is running.
Variable ​Test​Protocol​Client Undocumented
Class _​Adapted​Reporter TestResult decorator that makes sure that addError only gets tests that have been adapted with a particular test adapter.
Class _​Ansi​Colorizer A colorizer is an object that loosely wraps around a stream, allowing callers to write text to the stream in a particular color.
Class _​Exit​Wrapper A wrapper for a reporter that causes the reporter to stop after unsuccessful tests.
Class _​Null​Colorizer See _AnsiColorizer docstring.
Class _​Win32​Colorizer See _AnsiColorizer docstring.
Function _make​Todo Return a Todo object built from value.
TestProtocolClient = (source)

Undocumented

def _makeTodo(value): (source)

Return a Todo object built from value.

This is a synonym for twisted.trial.unittest.makeTodo, but imported locally to avoid circular imports.

Parameters
valueA string or a tuple of (errors, reason), where errors is either a single exception class or an iterable of exception classes.
Returns
A Todo object.