class unittest.FunctionTestCase(testFunc, setUp=None, tearDown=None, description=None) This class implements the portion of
class unittest.mock.NonCallableMagicMock(*args, **kw) A non-callable version of MagicMock. The
assertRegex(text, regex, msg=None) assertNotRegex(text, regex, msg=None) Test that a regex search matches
patch.object(target, attribute, new=DEFAULT, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs) patch
assertSetEqual(first, second, msg=None) Tests that two sets are equal. If not, an error message is constructed that lists the
class unittest.mock.MagicMock(*args, **kw) MagicMock is a subclass of Mock with default implementations
mock_add_spec(spec, spec_set=False) Add a spec to a mock. spec can either be an object or a list of strings. Only attributes
class typing.MappingView(Sized, Iterable[T_co]) A generic version of
assertIs(first, second, msg=None) assertIsNot(first, second, msg=None) Test that first and second
docstring The string that the test was extracted from, or ‘None’ if the string is unavailable, or if the test was not extracted
Page 2 of 28