return_value Set this to configure the value returned by calling the mock:
The latest trend in white
indent The example’s indentation in the containing string, i.e., the number of space characters that precede the example’s first
class typing.Sequence(Sized, Iterable[T_co], Container[T_co]) A generic version of
longMessage If set to True then any explicit failure message you pass in to the assert methods will
unittest.defaultTestLoader Instance of the TestLoader class intended to be shared. If no customization of the
assertIsInstance(obj, cls, msg=None) assertNotIsInstance(obj, cls, msg=None) Test that obj is (or is not)
errors A list containing 2-tuples of TestCase instances and strings holding formatted tracebacks. Each tuple represents
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
Page 18 of 28