assertIsNotNone(expr, msg=None) Test that expr is (or is not) None.
assert_any_call(*args, **kwargs) assert the mock has been called with the specified arguments. The
examples A list of Example objects encoding the individual interactive Python examples that should be run by this
reset_mock() The reset_mock method resets all the call attributes on a mock object:
startTestRun() Called once before any tests are executed.
call_count An integer telling you how many times the mock object has been called:
class unittest.TextTestResult(stream, descriptions, verbosity) A concrete implementation of TestResult used by
source A string containing the example’s source code. This source code consists of a single Python statement, and always ends
test.support.run_unittest(*classes) Execute
class typing.Generator(Iterator[T_co], Generic[T_co, T_contra, V_co]) A generator can be annotated by the generic type
Page 26 of 28