mpi_array.unittest.TextTestResult¶
-
class
mpi_array.unittest.
TextTestResult
(stream, descriptions, verbosity)[source]¶ Bases:
unittest.runner.TextTestResult
Methods
__init__
(stream, descriptions, verbosity)addError
(test, err)addExpectedFailure
(test, err)addFailure
(test, err)addSkip
(test, reason)addSubTest
(test, subtest, err)Called at the end of a subtest. addSuccess
(test)addUnexpectedSuccess
(test)getDescription
(test)printErrorList
(flavour, errors)printErrors
()startTest
(test)startTestRun
()Called once before any tests are executed. stop
()Indicates that the tests should be aborted. stopTest
(test)Called when the given test has been run stopTestRun
()Called once after all tests are executed. wasSuccessful
()Tells whether or not this result was a success. Attributes
separator1
separator2