unittest.mock.patch()

unittest.mock.patch(target, new=DEFAULT, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs)

2016-10-07 17:46:13
unittest.TestResult.errors

errors A list containing 2-tuples of TestCase instances and strings holding formatted tracebacks. Each tuple represents

2016-10-07 17:46:35
unittest.mock.Mock.assert_has_calls()

assert_has_calls(calls, any_order=False) assert the mock has been called with the specified calls. The mock_calls

2016-10-07 17:46:08
unittest.TestCase.assertIsNone()

assertIsNone(expr, msg=None) assertIsNotNone(expr, msg=None) Test that expr is (or is not) None.

2016-10-07 17:46:20
unittest.TestCase.assertIsInstance()

assertIsInstance(obj, cls, msg=None) assertNotIsInstance(obj, cls, msg=None) Test that obj is (or is not)

2016-10-07 17:46:20
doctest.Example.exc_msg

exc_msg The exception message generated by the example, if the example is expected to generate an exception; or None

2016-10-07 17:32:12
unittest.mock.Mock.assert_any_call()

assert_any_call(*args, **kwargs) assert the mock has been called with the specified arguments. The

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

class unittest.mock.PropertyMock(*args, **kwargs) A mock intended to be used as a property, or other descriptor, on a class

2016-10-07 17:46:14
unittest.mock.NonCallableMock

class unittest.mock.NonCallableMock(spec=None, wraps=None, name=None, spec_set=None, **kwargs) A non-callable version of Mock

2016-10-07 17:46:12
unittest.TestResult.stop()

stop() This method can be called to signal that the set of tests being run should be aborted by setting the shouldStop

2016-10-07 17:46:37