unittest.mock.patch.object()

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

2016-10-07 17:46:13
unittest.TestCase.assertSequenceEqual()

assertSequenceEqual(first, second, msg=None, seq_type=None) Tests that two sequences are equal. If a seq_type is supplied

2016-10-07 17:46:24
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.TestCase.assertIs()

assertIs(first, second, msg=None) assertIsNot(first, second, msg=None) Test that first and second

2016-10-07 17:46:19
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
typing.MutableMapping

class typing.MutableMapping(Mapping[KT, VT]) A generic version of

2016-10-07 17:45:57
doctest.DebugRunner

class doctest.DebugRunner(checker=None, verbose=None, optionflags=0) A subclass of DocTestRunner that raises an

2016-10-07 17:32:05
test.support.forget()

test.support.forget(module_name) Remove the module named module_name from sys.modules and delete any byte-compiled

2016-10-07 17:44:23
unittest.mock.NonCallableMagicMock

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

2016-10-07 17:46:12
unittest.TestCase.assertWarnsRegex()

assertWarnsRegex(warning, regex, callable, *args, **kwds) assertWarnsRegex(warning, regex, msg=None) Like

2016-10-07 17:46:25