class _AdaptedReporter(TestResultDecorator): (source)
TestResult decorator that makes sure that addError only gets tests that have been adapted with a particular test adapter.
| Method | __init__ |
Construct an _AdaptedReporter. |
| Instance Variable | testAdapter |
Undocumented |
| Method | addError |
See itrial.IReporter. |
| Method | addExpectedFailure |
See itrial.IReporter. |
| Method | addFailure |
See itrial.IReporter. |
| Method | addSkip |
See itrial.IReporter. |
| Method | addUnexpectedSuccess |
See itrial.IReporter. |
| Method | startTest |
See itrial.IReporter. |
| Method | stopTest |
See itrial.IReporter. |
Inherited from TestResultDecorator:
| Instance Variable | _originalReporter |
The wrapped instance of reporter. |
Construct an _AdaptedReporter.
| Parameters | original | An {itrial.IReporter}. |
| testAdapter | A callable that returns an itrial.ITestCase. |
See itrial.IReporter.
| Parameters | test | Undocumented (type: A pyunit.TestCase.) |
| failure | Undocumented (type: A failure.Failure or AssertionError) | |
| todo | Undocumented (type: A unittest.Todo or NoneWhen
|
See itrial.IReporter.
| Parameters | test | Undocumented (type: A pyunit.TestCase.) |
| todo | Undocumented (type: A unittest.Todo or NoneWhen
|