expectedFailures A list containing 2-tuples of TestCase instances and strings holding formatted tracebacks. Each
assertIsNot(first, second, msg=None) Test that first and second evaluate (or don’t evaluate) to the same object
class doctest.DocTest(examples, globs, name, filename, lineno, docstring) A collection of doctest examples that should be run
loadTestsFromName(name, module=None) Return a suite of all tests cases given a string specifier. The
doctest.testmod(m=None, name=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=None, raise_on_error=False, exclude_empty=False)
configure_mock(**kwargs) Set attributes on the mock through keyword arguments. Attributes plus
unittest.mock.patch(target, new=DEFAULT, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs)
doctest.DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None, setUp=None, tearDown=None, checker=None) Convert
assertNotAlmostEqual(first, second, places=7, msg=None, delta=None) Test that first and second are approximately
unittest.removeResult(result) Remove a registered result. Once a result has been removed then stop() will no longer
Page 20 of 28