summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/mock.py
Commit message (Expand)AuthorAgeFilesLines
* bpo-30541: Add new method to seal mocks (GH61923)Mario Corchero2017-10-171-2/+41
* bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functi...Aaron Gallagher2017-07-201-1/+1
* bpo-28911: Clarify the behaviour of assert_called_once_with. (#251)Arne de Laat2017-02-231-2/+2
* Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.Serhiy Storchaka2017-01-211-2/+6
|\
| * Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.Serhiy Storchaka2017-01-211-2/+6
| |\
| | * Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.Serhiy Storchaka2017-01-211-2/+6
* | | Issue #20804: The unittest.mock.sentinel attributes now preserve theirSerhiy Storchaka2017-01-111-0/+6
* | | Merge 3.6Victor Stinner2017-01-061-2/+1
|\ \ \ | |/ /
| * | Fix unittest.mock._Call: don't ignore nameVictor Stinner2017-01-061-2/+1
* | | Issue #28919: Simplify _copy_func_details() in unittest.mockBerker Peksag2016-12-151-18/+8
|/ /
* | Fixes issue28380: unittest.mock Mock autospec functions now properly supportGregory P. Smith2016-10-061-0/+9
* | Issue #26750: use inspect.isdatadescriptor instead of our ownGregory P. Smith2016-08-161-7/+1
|\ \ | |/
| * Issue #26750: use inspect.isdatadescriptor instead of our ownGregory P. Smith2016-08-161-7/+1
* | Issue #26750: unittest.mock.create_autospec() now works properly forGregory P. Smith2016-08-071-9/+5
|\ \ | |/
| * Issue #26750: unittest.mock.create_autospec() now works properlyGregory P. Smith2016-08-071-1/+9
* | Issue #23804: Merge spelling and NEWS fixes from 3.5Martin Panter2016-07-111-1/+1
|\ \ | |/
| * English spelling and grammar fixesMartin Panter2016-07-111-1/+1
* | Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.Serhiy Storchaka2016-06-191-0/+1
|\ \ | |/
| * Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.Serhiy Storchaka2016-06-191-0/+1
* | Issue #21271: Adds new keyword only parameters in reset_mock callKushal Das2016-06-021-1/+6
* | Issue #26807: mock_open 'files' no longer error on readline at end of file.Robert Collins2016-05-161-0/+2
|\ \ | |/
| * Issue #26807: mock_open 'files' no longer error on readline at end of file.Robert Collins2016-05-161-0/+2
* | Issue #25195: Fix a regression in mock.MagicMockBerker Peksag2016-03-271-0/+3
|\ \ | |/
| * Issue #25195: Fix a regression in mock.MagicMockBerker Peksag2016-03-271-0/+3
* | Add Mock.assert_called()Victor Stinner2016-03-111-0/+18
* | Issue25347 - Format the error message output of mock's assert_has_calls method.Senthil Kumaran2016-01-121-1/+1
|/
* Issue #22138: Fix mock.patch behavior when patching descriptors. RestoreSenthil Kumaran2016-01-091-1/+4
* Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-091-2/+3
|\
| * Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-091-2/+3
* | Issue #23004: mock_open() now reads binary data correctly when the type of re...Berker Peksag2015-08-061-3/+4
|\ \ | |/
| * Issue #23004: mock_open() now reads binary data correctly when the type of re...Berker Peksag2015-08-061-3/+4
* | Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins2015-07-231-36/+43
|\ \ | |/
| * Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins2015-07-231-36/+43
* | Typo fix in mock.patch.Robert Collins2015-07-171-1/+1
|\ \ | |/
| * Typo fix in mock.patch.Robert Collins2015-07-171-1/+1
* | Issue #21750: mock_open.read_data can now be read from each instance, as itRobert Collins2015-07-171-33/+37
|\ \ | |/
| * Issue #21750: mock_open.read_data can now be read from each instance, as itRobert Collins2015-07-171-33/+37
* | - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.Robert Collins2015-07-141-3/+9
|\ \ | |/
| * - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.Robert Collins2015-07-141-3/+9
| * Issue #23310: Fix MagicMock's initializer to work with __methods__.Łukasz Langa2015-04-141-2/+3
* | Issue #23661: unittest.mock side_effects can now be exceptions again.Robert Collins2015-07-141-1/+2
* | Issue #23310: Fix MagicMock's initializer to work with __methods__.Łukasz Langa2015-04-141-2/+3
* | Issue #23568: Add rdivmod support to MagicMock() objects.Berker Peksag2015-03-141-1/+3
|\ \ | |/
| * Issue #23568: Add rdivmod support to MagicMock() objects.Berker Peksag2015-03-141-1/+3
* | Issue #23581: Add matmul support to MagicMock.Berker Peksag2015-03-121-1/+1
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka2015-01-311-4/+0
* | Issue #22823: Fix typo in unittest/mock.pyVictor Stinner2014-12-111-1/+1
* | Issue #22823: Use set literals instead of creating a set from a list.Serhiy Storchaka2014-12-111-16/+15
* | Closes #21270 : We now override tuple methods in mock.call objects.Kushal Das2014-09-161-0/+6
* | Closes #21256: Printout of keyword args in deterministic order in mock calls.Kushal Das2014-06-091-1/+1