A test result class that can print formatted text results to a
stream.
Used by TextTestRunner.
|
__init__(self,
stream,
descriptions,
verbosity) |
|
|
|
addError(self,
test,
err)
Called when an error has occurred. |
|
|
|
|
|
addFailure(self,
test,
err)
Called when an error has occurred. |
|
|
|
addSkip(self,
test,
reason)
Called when a test is skipped. |
|
|
|
addSuccess(self,
test)
Called when a test has completed successfully |
|
|
|
|
|
getDescription(self,
test) |
|
|
|
printErrorList(self,
flavour,
errors) |
|
|
|
|
|
startTest(self,
test)
Called when the given test is about to be run |
|
|
Inherited from result.TestResult :
__repr__ ,
startTestRun ,
stop ,
stopTest ,
stopTestRun ,
wasSuccessful
Inherited from result.TestResult (private):
_count_relevant_tb_levels ,
_exc_info_to_string ,
_is_relevant_tb_level ,
_restoreStdout ,
_setupStdout
|