| Commit message (Expand) | Author | Age | Files | Lines |
* | bpo-43478: Restrict use of Mock objects as specs (GH-25326) | Matthew Suozzo | 2021-04-10 | 3 | -8/+64 |
|
|
* | bpo-42934: use TracebackException(compact=True) in unittest.TestResult (GH-24... | Irit Katriel | 2021-01-15 | 1 | -1/+2 |
|
|
* | bpo-41877: Check for misspelled speccing arguments (GH-23737) | vabr-g | 2020-12-14 | 2 | -8/+83 |
|
|
* | bpo-41877: Improve docs for assert misspellings check in mock (GH-23729) | vabr-g | 2020-12-10 | 2 | -3/+4 |
|
|
* | bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call it... | idanw206 | 2020-12-06 | 2 | -1/+11 |
|
|
* | bpo-41877 Check for asert, aseert, assrt in mocks (GH-23165) | vabr-g | 2020-11-05 | 2 | -3/+12 |
|
|
* | bpo-41943: Fix bug where assertLogs doesn't correctly filter messages… (GH-... | Irit Katriel | 2020-11-02 | 2 | -0/+13 |
|
|
* | bpo-39101: Fixes BaseException hang in IsolatedAsyncioTestCase. (GH-22654) | Lisa Roach | 2020-10-26 | 2 | -2/+29 |
|
|
* | bpo-40275: Use new test.support helper submodules in tests (GH-21449) | Hai Shi | 2020-08-03 | 2 | -5/+6 |
|
|
* | bpo-39385: Add an assertNoLogs context manager to unittest.TestCase (GH-18067) | Kit Choi | 2020-07-01 | 3 | -8/+107 |
|
|
* | bpo-29620: iterate over a copy of sys.modules (GH-4800) | kernc | 2020-06-11 | 2 | -1/+16 |
|
|
* | bpo-40462: fix variable and function names (GH-19832) | Furkan Önder | 2020-05-01 | 1 | -2/+0 |
|
|
* | bpo-39966: Revert "bpo-25597: Ensure wraps' return value is used for magic me... | Karthikeyan Singaravelan | 2020-04-28 | 2 | -12/+10 |
|
|
* | bpo-40275: Avoid importing logging in test.support (GH-19601) | Serhiy Storchaka | 2020-04-25 | 2 | -68/+71 |
|
|
* | bpo-40275: Avoid importing asyncio in test.support (GH-19600) | Serhiy Storchaka | 2020-04-25 | 1 | -1/+16 |
|
|
* | bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) | Serhiy Storchaka | 2020-04-11 | 2 | -49/+27 |
|
|
* | bpo-39481: PEP 585 for a variety of modules (GH-19423) | Batuhan Taşkaya | 2020-04-10 | 1 | -0/+2 |
|
|
* | bpo-39915: Ensure await_args_list is updated according to the order in which ... | Karthikeyan Singaravelan | 2020-03-11 | 2 | -1/+12 |
|
|
* | bpo-39450 Stripped whitespace before parsing the docstring in TestCase.shortD... | Steve Cirelli | 2020-02-03 | 2 | -1/+10 |
|
|
* | Get mock coverage back to 100% (GH-18228) | Chris Withers | 2020-01-29 | 4 | -54/+35 |
|
|
* | bpo-39485: fix corner-case in method-detection of mock (GH-18252) | Carl Friedrich Bolz-Tereick | 2020-01-29 | 1 | -5/+1 |
|
|
* | Clarify and fix assertions that mocks have not been awaited (GH-18196) | Chris Withers | 2020-01-27 | 2 | -27/+30 |
|
|
* | Use relative imports in mock and its tests to help backporting (GH-18197) | Chris Withers | 2020-01-27 | 3 | -79/+82 |
|
|
* | bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock ... | Karthikeyan Singaravelan | 2020-01-27 | 2 | -0/+53 |
|
|
* | bpo-38932: Mock fully resets child objects on reset_mock(). (GH-17409) | Vegard Stikbakke | 2020-01-25 | 2 | -2/+14 |
|
|
* | bpo-37955: correct mock.patch docs with respect to the returned type (GH-15521) | Paulo Henrique Silva | 2020-01-25 | 1 | -1/+2 |
|
|
* | bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-18116) | Matthew Kokotovich | 2020-01-25 | 2 | -0/+25 |
|
|
* | bpo-38473: Handle autospecced functions and methods used with attach_mock (GH... | Karthikeyan Singaravelan | 2020-01-24 | 2 | -0/+33 |
|
|
* | Fix `mock.patch.dict` to be stopped with `mock.patch.stopall` (#17606) | Mario Corchero | 2020-01-24 | 2 | -2/+67 |
|
|
* | bpo-24928: Add test case for patch.dict using OrderedDict (GH -11437) | Emmanuel Arias | 2020-01-24 | 1 | -0/+20 |
|
|
* | Improve test coverage for AsyncMock. (GH-17906) | Karthikeyan Singaravelan | 2020-01-15 | 1 | -4/+49 |
|
|
* | remove unused __version__ from mock.py (#17977) | Chris Withers | 2020-01-13 | 1 | -2/+0 |
|
|
* | bpo-38669: patch.object now raises a helpful error (GH17034) | Elena Oat | 2019-12-08 | 2 | -0/+8 |
|
|
* | bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH... | Jason Fried | 2019-11-21 | 2 | -41/+95 |
|
|
* | Remove binding of captured exceptions when not used to reduce the chances of ... | Pablo Galindo | 2019-11-19 | 1 | -1/+1 |
|
|
* | bpo-38839: Fix some unused functions in tests (GH-17189) | Adam Johnson | 2019-11-19 | 1 | -0/+1 |
|
|
* | bpo-38163: Child mocks detect their type as sync or async (GH-16471) | Lisa Roach | 2019-09-30 | 2 | -27/+45 |
|
|
* | bpo-38161: Removes _AwaitEvent from AsyncMock. (GH-16443) | Lisa Roach | 2019-09-30 | 2 | -39/+1 |
|
|
* | bpo-38108: Makes mock objects inherit from Base (GH-16060) | Lisa Roach | 2019-09-29 | 3 | -57/+56 |
|
|
* | bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361) | Samuel Freilich | 2019-09-24 | 3 | -18/+32 |
|
|
* | bpo-36871: Handle spec errors in assert_has_calls (GH-16005) | Samuel Freilich | 2019-09-24 | 3 | -5/+61 |
|
|
* | bpo-38136: Updates await_count and call_count to be different things (GH-16192) | Lisa Roach | 2019-09-24 | 3 | -18/+191 |
|
|
* | bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947) | Lisa Roach | 2019-09-20 | 3 | -55/+161 |
|
|
* | bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166) | Abraham Toriz Cruz | 2019-09-17 | 2 | -1/+9 |
|
|
* | bpo-38100: Fix spelling error in unittest.mock code (GH-16168) | marcoramirezmx | 2019-09-16 | 1 | -3/+3 |
|
|
* | bpo-38122: minor fixes to AsyncMock spec handling (GH-16099) | Michael Foord | 2019-09-13 | 1 | -11/+8 |
|
|
* | bpo-37555: Update _CallList.__contains__ to respect ANY (#14700) | Elizabeth Uselton | 2019-09-13 | 3 | -13/+79 |
|
|
* | bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ c... | blhsing | 2019-09-11 | 2 | -0/+26 |
|
|
* | bpo-36373: Fix deprecation warnings (GH-15889) | Andrew Svetlov | 2019-09-11 | 1 | -4/+6 |
|
|
* | bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830) | Lisa Roach | 2019-09-10 | 2 | -3/+17 |
|
|