Part of twisted.trial.runner View Source View In Hierarchy
TestCase, however, when it is run, it
simply adds an error to the TestResult. The most common
use-case is for when a module fails to import.| Method | __init__ | |
| Method | __repr__ | Undocumented |
| Method | run | Run the test, reporting the error. |
Inherited from TestHolder:
| Method | __call__ | Undocumented |
| Method | id | Undocumented |
| Method | countTestCases | Undocumented |
| Method | shortDescription | Undocumented |
| 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. |
| Parameters | result | The TestResult to store the results in. (type: twisted.trial.itrial.IReporter.) |