class twisted.trial.runner.TestHolder: (source)
Known subclasses: twisted.trial.runner.ErrorHolder
Implements interfaces: twisted.trial.itrial.ITestCase
Placeholder for a TestCase inside a reporter. As far as a TestResult is concerned, this looks exactly like a unit test.
| Class Variable | failureException | The exception class that is raised by failed assertions |
| Method | __init__ | |
| Instance Variable | description | Undocumented |
| Method | __call__ | Run the test. Should always do exactly the same thing as run(). |
| Method | id | Return a unique identifier for the test, usually the fully-qualified Python name. |
| Method | countTestCases | Return the number of tests in this test case. Usually 1. |
| Method | run | This test is just a placeholder. Run the test successfully. |
| Method | shortDescription | Return a short description of the test. |
| Parameters | description | A string to be displayed TestResult. |
Run the test. Should always do exactly the same thing as run().
Return a unique identifier for the test, usually the fully-qualified Python name.
This test is just a placeholder. Run the test successfully.
| Parameters | result | The TestResult to store the results in. (type: twisted.trial.itrial.IReporter.) |