class documentation

This mixin defines test methods which can be applied to a runner.ErrorHolder constructed with either a Failure or a exc_info-style tuple.

Subclass this and implement setUp to create self.holder referring to a runner.ErrorHolder instance and self.error referring to a Failure which the holder holds.

Class TestResultStub Stub for TestResult.
Method test_call runner.ErrorHolder adds an error to the result when called.
Method test_countTestCases runner.ErrorHolder.countTestCases always returns 0.
Method test_repr runner.ErrorHolder.__repr__ returns a string describing the error it holds.
Method test_run runner.ErrorHolder adds an error to the result when run.
Method test_runsWithStandardResult A runner.ErrorHolder can run against the standard Python TestResult.
Class Variable exceptionForTests Undocumented
def test_call(self): (source)

runner.ErrorHolder adds an error to the result when called.

def test_countTestCases(self): (source)
def test_repr(self): (source)

runner.ErrorHolder.__repr__ returns a string describing the error it holds.

def test_run(self): (source)

runner.ErrorHolder adds an error to the result when run.

def test_runsWithStandardResult(self): (source)

A runner.ErrorHolder can run against the standard Python TestResult.

exceptionForTests = (source)

Undocumented