class unittest.mock.NonCallableMock(spec=None, wraps=None, name=None, spec_set=None, **kwargs) A non-callable version of Mock
stop() This method can be called to signal that the set of tests being run should be aborted by setting the shouldStop
exception unittest.SkipTest(reason) This exception is raised to skip a test. Usually you can
stopTestRun() Called once after all tests are executed.
@unittest.skipUnless(condition, reason) Skip the decorated test unless condition is true.
doctest.testfile(filename, module_relative=True, name=None, package=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=None, raise_on_error=False
@unittest.expectedFailure Mark the test as an expected failure. If the test fails when run, the test is not counted as a failure
assertIsNotNone(expr, msg=None) Test that expr is (or is not) None.
class typing.KeysView(MappingView[KT_co], AbstractSet[KT_co]) A generic version of
skipped A list containing 2-tuples of TestCase instances and strings holding the reason for skipping the test.
Page 25 of 28