summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/testmock/testmock.py
Commit message (Expand)AuthorAgeFilesLines
* bpo-43478: Restrict use of Mock objects as specs (GH-25326)Matthew Suozzo2021-04-101-2/+24
* bpo-41877: Check for misspelled speccing arguments (GH-23737)vabr-g2020-12-141-0/+52
* bpo-41877: Improve docs for assert misspellings check in mock (GH-23729)vabr-g2020-12-101-1/+1
* bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call it...idanw2062020-12-061-0/+10
* bpo-41877 Check for asert, aseert, assrt in mocks (GH-23165)vabr-g2020-11-051-1/+10
* bpo-39966: Revert "bpo-25597: Ensure wraps' return value is used for magic me...Karthikeyan Singaravelan2020-04-281-6/+10
* Get mock coverage back to 100% (GH-18228)Chris Withers2020-01-291-0/+5
* bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock ...Karthikeyan Singaravelan2020-01-271-0/+47
* bpo-38932: Mock fully resets child objects on reset_mock(). (GH-17409)Vegard Stikbakke2020-01-251-1/+13
* bpo-38473: Handle autospecced functions and methods used with attach_mock (GH...Karthikeyan Singaravelan2020-01-241-0/+29
* bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361)Samuel Freilich2019-09-241-7/+14
* bpo-36871: Handle spec errors in assert_has_calls (GH-16005)Samuel Freilich2019-09-241-0/+19
* bpo-38136: Updates await_count and call_count to be different things (GH-16192)Lisa Roach2019-09-241-1/+2
* bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166)Abraham Toriz Cruz2019-09-171-0/+8
* bpo-37212: Preserve keyword argument order in unittest.mock.call and error me...Xtreak2019-09-091-3/+3
* bpo-36871: Ensure method signature is used when asserting mock calls to a met...Xtreak2019-08-291-0/+48
* bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)Serhiy Storchaka2019-08-081-0/+8
* Fix typos in comments, docs and test names (#15018)Min ho Kim2019-07-301-1/+1
* bpo-21478: Record calls to parent when autospecced objects are used as child ...Xtreak2019-07-221-0/+37
* bpo-37008: make mock_open handle able to honor next() (GH-13492)Damien Nadé2019-05-231-0/+13
* bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)Lisa Roach2019-05-201-2/+3
* bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991)Zackery Spytz2019-05-081-2/+3
* Mock 100% coverage (GH-13045)Chris Withers2019-05-011-53/+73
* remove jython support from unittest.mock (GH#13033)Chris Withers2019-05-011-15/+0
* Don't report deleted attributes in __dir__ (GH#10148)Mario Corchero2019-04-301-0/+9
* bpo-23078: Add support for {class,static}method to mock.create_autospec() (G...Xtreak2019-04-221-0/+17
* bpo-36593: Fix isinstance check for Mock objects with spec executed under tra...Xtreak2019-04-131-0/+38
* bpo-21269: Provide args and kwargs attributes on mock call objects GH11807Kumar Akshay2019-03-221-3/+8
* Autospec functions should propagate mock calls to parent GH-11273Xtreak2019-02-251-0/+13
* bpo-35500: align expected and actual calls on mock.assert_called_with error m...Susan Su2019-02-141-7/+8
* bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)Pablo Galindo2019-01-211-0/+27
* bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero2018-12-081-0/+122
* bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_Ma...Andrew Dunai2018-12-041-1/+15
* bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)Chris Withers2018-12-031-0/+51
* bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302)Xtreak2018-12-011-0/+10
* bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures...Petter Strandmark2018-10-281-0/+30
* bpo-32933: Implement __iter__ method on mock_open() (GH-5974)Tony Flury2018-09-121-0/+10
* Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.Serhiy Storchaka2017-01-211-3/+14
|\
| * Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.Serhiy Storchaka2017-01-211-3/+14
* | Issue #21271: Adds new keyword only parameters in reset_mock callKushal Das2016-06-021-0/+18
* | Issue #26807: mock_open 'files' no longer error on readline at end of file.Robert Collins2016-05-161-0/+12
|\ \ | |/
| * Issue #26807: mock_open 'files' no longer error on readline at end of file.Robert Collins2016-05-161-0/+12
* | Issue #25195: Fix a regression in mock.MagicMockBerker Peksag2016-03-271-0/+17
|\ \ | |/
| * Issue #25195: Fix a regression in mock.MagicMockBerker Peksag2016-03-271-0/+17
* | Add Mock.assert_called()Victor Stinner2016-03-111-0/+21
|/
* Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-091-0/+3
|\
| * Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-091-0/+3
* | Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins2015-07-231-1/+23
|\ \ | |/
| * Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins2015-07-231-1/+23
* | Issue #21750: mock_open.read_data can now be read from each instance, as itRobert Collins2015-07-171-0/+5
|\ \ | |/