run(result=None) Run the test, collecting the result into the TestResult object passed as result. If result
test.support.import_fresh_module(name, fresh=(), blocked=(), deprecated=False) This function imports and returns a fresh copy
class typing.Dict(dict, MutableMapping[KT, VT]) A generic version of
assertSetEqual(first, second, msg=None) Tests that two sets are equal. If not, an error message is constructed that lists the
class unittest.mock.Mock(spec=None, side_effect=None, return_value=DEFAULT, wraps=None, name=None, spec_set=None, unsafe=False, **kwargs)
class typing.Generic Abstract base class for generic types. A generic type is typically declared
_get_child_mock(**kw) Create the child mocks for attributes and return value. By default child mocks will be the same type as
output A list of str
class unittest.TestSuite(tests=()) This class represents an aggregation of individual tests cases and test suites. The class
assert_not_called() Assert the mock was never called. >>>
Page 2 of 28