t.t.u.PyUnitResultAdapter(object) : class documentation

Part of twisted.trial.unittest View Source View In Hierarchy

Wrap a TestResult from the standard library's unittest so that it supports the extended result types from Trial, and also supports twisted.python.failure.Failures being passed to addError and addFailure.
Method __init__
Method startTest Undocumented
Method stopTest Undocumented
Method addFailure Undocumented
Method addError Undocumented
Method addSkip Report the skip as a failure.
Method addUnexpectedSuccess Report the unexpected success as a failure.
Method addExpectedFailure Report the expected failure (i.e. todo) as a failure.
Method addSuccess Undocumented
Method upDownError Undocumented
Method _exc_info Undocumented
Method _unsupported Undocumented
def __init__(self, original): (source)
ParametersoriginalA TestResult instance from unittest.
def _exc_info(self, err): (source)
Undocumented
def startTest(self, method): (source)
Undocumented
def stopTest(self, method): (source)
Undocumented
def addFailure(self, test, fail): (source)
Undocumented
def addError(self, test, error): (source)
Undocumented
def _unsupported(self, test, feature, info): (source)
Undocumented
def addSkip(self, test, reason): (source)
Report the skip as a failure.
def addUnexpectedSuccess(self, test, todo): (source)
Report the unexpected success as a failure.
def addExpectedFailure(self, test, error): (source)
Report the expected failure (i.e. todo) as a failure.
def addSuccess(self, test): (source)
Undocumented
def upDownError(self, method, error, warn, printStatus): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.