unittest.TestCase.run()

run(result=None) Run the test, collecting the result into the TestResult object passed as result. If result

2016-10-07 17:46:28
unittest.mock.NonCallableMagicMock

class unittest.mock.NonCallableMagicMock(*args, **kw) A non-callable version of MagicMock. The

2016-10-07 17:46:12
doctest.register_optionflag()

doctest.register_optionflag(name) Create a new option flag with a given name, and return the new flag’s integer value.

2016-10-07 17:32:13
unittest.installHandler()

unittest.installHandler() Install the control-c handler. When a signal.SIGINT is received (usually in response

2016-10-07 17:46:05
unittest.mock.Mock.mock_add_spec()

mock_add_spec(spec, spec_set=False) Add a spec to a mock. spec can either be an object or a list of strings. Only attributes

2016-10-07 17:46:10
unittest.mock.Mock.

_get_child_mock(**kw) Create the child mocks for attributes and return value. By default child mocks will be the same type as

2016-10-07 17:46:11
doctest.DocTest.filename

filename The name of the file that this DocTest was extracted from; or None if the filename is unknown

2016-10-07 17:32:06
unittest.main()

unittest.main(module='__main__', defaultTest=None, argv=None, testRunner=None, testLoader=unittest.defaultTestLoader, exit=True, verbosity=1, failfast=None, catchbreak=None

2016-10-07 17:46:05
unittest.mock.sentinel

unittest.mock.sentinel The sentinel object provides a convenient way of providing unique objects for your tests

2016-10-07 17:46:14
unittest.TestCase.assertSetEqual()

assertSetEqual(first, second, msg=None) Tests that two sets are equal. If not, an error message is constructed that lists the

2016-10-07 17:46:24