doctest.testfile(filename, module_relative=True, name=None, package=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=None, raise_on_error=False
@test.support.skip_unless_symlink A decorator for running tests that require support for symbolic links.
call_count An integer telling you how many times the mock object has been called:
assertListEqual(first, second, msg=None) assertTupleEqual(first, second, msg=None) Tests that two lists or tuples
stop() This method can be called to signal that the set of tests being run should be aborted by setting the shouldStop
doCleanups() This method is called unconditionally after tearDown(), or after setUp() if setUp()
reset_mock() The reset_mock method resets all the call attributes on a mock object:
class unittest.TextTestResult(stream, descriptions, verbosity) A concrete implementation of TestResult used by
__iter__() Tests grouped by a TestSuite are always accessed by iteration. Subclasses can lazily provide tests by
addTest(test) Add a TestCase or TestSuite to the suite.
Page 26 of 28