summaryrefslogtreecommitdiff
path: root/mock/tests
AgeCommit message (Expand)Author
2020-03-11bpo-39915: Ensure await_args_list is updated according to the order in which ...Karthikeyan Singaravelan
2020-01-29this skip is no longer neededChris Withers
2020-01-29bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ c...blhsing
2020-01-29Get mock coverage back to 100% (GH-18228)Chris Withers
2020-01-29fixup: uncache backportChris Withers
2020-01-29Clarify and fix assertions that mocks have not been awaited (GH-18196)Chris Withers
2020-01-29bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock ...Karthikeyan Singaravelan
2020-01-29bpo-38932: Mock fully resets child objects on reset_mock(). (GH-17409)Vegard Stikbakke
2020-01-29bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-18116)Matthew Kokotovich
2020-01-29move testasync to backports.iscoroutinefunction to keep inline with upstream ...Chris Withers
2020-01-29pypy actually gets this right, so make it clear in the testChris Withers
2020-01-29this one no longer fails on pypyChris Withers
2020-01-29bpo-38473: Handle autospecced functions and methods used with attach_mock (GH...Karthikeyan Singaravelan
2020-01-29Fix `mock.patch.dict` to be stopped with `mock.patch.stopall` (#17606)Mario Corchero
2020-01-29bpo-24928: Add test case for patch.dict using OrderedDict (GH -11437)Emmanuel Arias
2020-01-29Improve test coverage for AsyncMock. (GH-17906)Karthikeyan Singaravelan
2020-01-29bpo-38669: patch.object now raises a helpful error (GH17034)Elena Oat
2020-01-29minimal backport of IsolatedAsyncioTestCase to get tests passing on Py3.6Chris Withers
2020-01-29bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH...Jason Fried
2020-01-29bpo-38839: Fix some unused functions in tests (GH-17189)Adam Johnson
2020-01-29bpo-38163: Child mocks detect their type as sync or async (GH-16471)Lisa Roach
2020-01-29bpo-38161: Removes _AwaitEvent from AsyncMock. (GH-16443)Lisa Roach
2020-01-29bpo-38108: Makes mock objects inherit from Base (GH-16060)Lisa Roach
2020-01-29support for py3.6Chris Withers
2020-01-29bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361)Samuel Freilich
2020-01-29bpo-36871: Handle spec errors in assert_has_calls (GH-16005)Samuel Freilich
2020-01-29bpo-38136: Updates await_count and call_count to be different things (GH-16192)Lisa Roach
2020-01-29bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947)Lisa Roach
2020-01-29bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166)Abraham Toriz Cruz
2020-01-29bpo-37555: Update _CallList.__contains__ to respect ANY (#14700)Elizabeth Uselton
2020-01-24bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)Lisa Roach
2020-01-24bpo-37212: Preserve keyword argument order in unittest.mock.call and error me...Xtreak
2020-01-24Fix assertions regarding magic methods function body that was not executed (G...Xtreak
2020-01-24Fix typos mostly in comments, docs and test names (GH-15209)Min ho Kim
2020-01-24bpo-36871: Ensure method signature is used when asserting mock calls to a met...Xtreak
2020-01-24bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)Serhiy Storchaka
2020-01-24Fix typos in comments, docs and test names (#15018)Min ho Kim
2020-01-24bpo-21478: Record calls to parent when autospecced objects are used as child ...Xtreak
2020-01-24re-introduce skips for https://bitbucket.org/pypy/pypy/issues/3010Chris Withers
2020-01-24run() implementation for py3.6, where it's missingChris Withers
2020-01-24py3.6 needs the inner mock module to be deleted tooChris Withers
2020-01-13vendor uncache helper in to our package.Chris Withers
2020-01-13fix importsChris Withers
2020-01-13not needed in backportChris Withers
2020-01-13new cut from cpython as at 4a686504eb2bbf69adf78077458508a7ba131667Chris Withers
2019-10-16link to the pypy issueChris Withers
2019-10-16this started failing when pypy 7.2 was releasedChris Withers
2019-05-07bpo-31855: unittest.mock.mock_open() results now respects the argument of rea...RĂ©mi Lapeyre
2019-05-02Use basestring when checking for dictionary patching.Chris Withers
2019-05-02the one uncovered line?Chris Withers