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.TestCase.records

records A list of

2016-10-07 17:46:27
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
unittest.TestCase.assertTupleEqual()

assertTupleEqual(first, second, msg=None) Tests that two lists or tuples are equal. If not, an error message is constructed

2016-10-07 17:46:24
unittest.TestCase.longMessage

longMessage If set to True then any explicit failure message you pass in to the assert methods will

2016-10-07 17:46:27
unittest.TestCase.assertMultiLineEqual()

assertMultiLineEqual(first, second, msg=None) Test that the multiline string first is equal to the string second

2016-10-07 17:46:22
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.TestLoader.loadTestsFromName()

loadTestsFromName(name, module=None) Return a suite of all tests cases given a string specifier. The

2016-10-07 17:46:31
unittest.TestResult.failures

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

2016-10-07 17:46:36
doctest.DocTestRunner.report_success()

report_success(out, test, example, got) Report that the given example ran successfully. This method is provided to allow subclasses

2016-10-07 17:32:10