unittest.mock.patch(target, new=DEFAULT, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs)
class typing.Tuple Tuple type; Tuple[X, Y] is the type of a tuple of two items with the first item of type X and
loadTestsFromName(name, module=None) Return a suite of all tests cases given a string specifier. The
exc_msg The exception message generated by the example, if the example is expected to generate an exception; or None
class typing.Sequence(Sized, Iterable[T_co], Container[T_co]) A generic version of
class doctest.OutputChecker A class used to check the whether the actual output from a doctest example matches the expected
assertDictEqual(first, second, msg=None) Test that two dictionaries are equal. If not, an error message is constructed that
assert_called_with(*args, **kwargs) This method is a convenient way of asserting that calls are made in a particular way:
setUpClass() A class method called before tests in an individual class run. setUpClass is called with the class
unittest.defaultTestLoader Instance of the TestLoader class intended to be shared. If no customization of the
Page 21 of 28