A test result class that can print formatted text results to a
stream.
Used by TextTestRunner.
|
|
__init__(self,
stream,
descriptions,
verbosity)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
| getDescription(self,
test) |
|
|
|
|
startTest(self,
test)
Called when the given test is about to be run |
|
|
|
|
addSuccess(self,
test)
Called when a test has completed successfully |
|
|
|
|
addError(self,
test,
err)
Called when an error has occurred. |
|
|
|
|
addFailure(self,
test,
err)
Called when an error has occurred. |
|
|
|
|
|
|
|
| printErrorList(self,
flavour,
errors) |
|
|
|
Inherited from TestResult:
__repr__,
stop,
stopTest,
wasSuccessful
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
|