class ErrorHolder(TestHolder): (source)
Method | __init__ |
|
Method | __repr__ |
Undocumented |
Method | run |
Run the test, reporting the error. |
Instance Variable | error |
Undocumented |
Inherited from TestHolder
:
Method | __call__ |
Run the test. Should always do exactly the same thing as run(). |
Method | countTestCases |
Return the number of tests in this test case. Usually 1. |
Method | id |
Return a unique identifier for the test, usually the fully-qualified Python name. |
Method | shortDescription |
Return a short description of the test. |
Class Variable | failureException |
The exception class that is raised by failed assertions |
Instance Variable | description |
Undocumented |
twisted.trial.runner.TestHolder.__init__
Parameters | |
description | A string used by TestResults to identify this error. Generally, this is the name of a module that failed to import. |
error | The error to be added to the result. Can be an `exc_info` tuple or a twisted.python.failure.Failure . |
twisted.trial.runner.TestHolder.run
Parameters | |
result:twisted.trial.itrial.IReporter . | The TestResult to store the results in. |