side_effect This can either be a function to be called when the mock is called, an iterable or an exception (class or instance)
addCleanup(function, *args, **kwargs) Add a function to be called after tearDown() to cleanup resources used during
countTestCases() Return the number of tests represented by this test object, including all individual tests and sub-suites.
class unittest.TestResult This class is used to compile information about which tests have succeeded and which have failed.
assertRaises(exception, callable, *args, **kwds) assertRaises(exception, msg=None) Test that an exception is raised
mock_calls mock_calls records all calls to the mock object, its methods, magic methods and return
test.support.verbose True when verbose output is enabled. Should be checked when more detailed information is desired
Page 28 of 28