class documentation

class TestDecorator(components.proxyForInterface(itrial.ITestCase, '_originalTest')): (source)

Known subclasses: twisted.trial._asyncrunner._ForceGarbageCollectionDecorator, twisted.trial._asyncrunner._PyUnitTestCaseAdapter

Implements interfaces: twisted.trial.itrial.ITestCase

View In Hierarchy

Decorator for test cases.
Parameters
_originalTestThe wrapped instance of test.
Method __call__ Run the unit test.
Method run Run the unit test.
def __call__(self, result): (source)
Run the unit test.
Parameters
resultA TestResult object.
def run(self, result): (source)
Run the unit test.
Parameters
resultA TestResult object.