assertLogs(logger=None, level=None) A context manager to test that at least one message is logged on the logger or
addTypeEqualityFunc(typeobj, function) Registers a type-specific method called by assertEqual() to check if two
assertCountEqual(first, second, msg=None) Test that sequence first contains the same elements as second, regardless
assertNotEqual(first, second, msg=None) Test that first and second are not equal. If the values do compare
doctest.DocFileSuite(*paths, module_relative=True, package=None, setUp=None, tearDown=None, globs=None, optionflags=0, parser=DocTestParser(), encoding=None)
attach_mock(mock, attribute) Attach a mock as an attribute of this one, replacing its name and parent. Calls to the attached
getTestCaseNames(testCaseClass) Return a sorted sequence of method names found within testCaseClass; this should be
report_start(out, test, example) Report that the test runner is about to process the given example. This method is provided
class unittest.TestCase(methodName='runTest') Instances of the TestCase class represent the logical test units
class typing.Set(set, MutableSet[T]) A generic version of
Page 14 of 28