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.

Method __init__
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.
def __init__(self, description): (source)
ParametersdescriptionA string to be displayed TestResult.
def __call__(self, result): (source)

Run the test. Should always do exactly the same thing as run().

def id(self): (source)

Return a unique identifier for the test, usually the fully-qualified Python name.

def countTestCases(self): (source)

Return the number of tests in this test case. Usually 1.

def run(self, result): (source)

This test is just a placeholder. Run the test successfully.

ParametersresultThe TestResult to store the results in. (type: twisted.trial.itrial.IReporter.)
def shortDescription(self): (source)

Return a short description of the test.

API Documentation for Twisted, generated by pydoctor at 2018-10-15 19:29:43.