class documentation
class TestHolder: (source)
Known subclasses: twisted.trial.runner.ErrorHolder
Constructor: TestHolder(description)
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.
Method | __call__ |
Run the test. Should always do exactly the same thing as run(). |
Method | __init__ |
No summary |
Method | count |
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 | run |
This test is just a placeholder. Run the test successfully. |
Method | short |
Return a short description of the test. |
Class Variable | failure |
The exception class that is raised by failed assertions |
Instance Variable | description |
Undocumented |
overridden in
twisted.trial.runner.ErrorHolder
Parameters | |
description | A string to be displayed TestResult . |
overridden in
twisted.trial.runner.ErrorHolder
This test is just a placeholder. Run the test successfully.
Parameters | |
result:twisted.trial.itrial.IReporter . | The TestResult to store the results in. |