summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/mock.py
Commit message (Expand)AuthorAgeFilesLines
...
* bpo-31855: unittest.mock.mock_open() results now respects the argument of rea...Rémi Lapeyre2019-05-071-25/+14
* Mock 100% coverage (GH-13045)Chris Withers2019-05-011-56/+5
* remove jython support from unittest.mock (GH#13033)Chris Withers2019-05-011-9/+2
* Don't report deleted attributes in __dir__ (GH#10148)Mario Corchero2019-04-301-2/+4
* bpo-23078: Add support for {class,static}method to mock.create_autospec() (G...Xtreak2019-04-221-1/+3
* bpo-36593: Fix isinstance check for Mock objects with spec executed under tra...Xtreak2019-04-131-1/+1
* bpo-36366: Return None on stopping unstarted patch object (GH-12472)Xtreak2019-03-281-1/+1
* bpo-21269: Provide args and kwargs attributes on mock call objects GH11807Kumar Akshay2019-03-221-0/+16
* Autospec functions should propagate mock calls to parent GH-11273Xtreak2019-02-251-0/+8
* bpo-35512: Resolve string target to patch.dict decorator during function call...Xtreak2019-02-241-2/+2
* bpo-35500: align expected and actual calls on mock.assert_called_with error m...Susan Su2019-02-141-2/+5
* bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)Pablo Galindo2019-01-211-4/+3
* Fix mock_open docstring to use readline (#11176)Xtreak2018-12-201-1/+1
* bpo-17185: Add __signature__ to mock that can be used by inspect for signatur...Xtreak2018-12-121-2/+4
* bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero2018-12-081-11/+10
* bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_Ma...Andrew Dunai2018-12-041-14/+14
* bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)Chris Withers2018-12-031-23/+32
* bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302)Xtreak2018-12-011-1/+1
* bpo-35133: Fix mistakes when concatenate string literals on different lines. ...Serhiy Storchaka2018-11-051-1/+1
* bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures...Petter Strandmark2018-10-281-8/+28
* bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)Max Bélanger2018-10-251-0/+2
* unittest.mock doc: Fix references to recursive seal of Mocks (GH-9028)Mario Corchero2018-10-191-5/+4
* bpo-32933: Implement __iter__ method on mock_open() (GH-5974)Tony Flury2018-09-121-3/+6
* Improve error message when mock.assert_has_calls fails (GH-8205)davidair2018-08-171-1/+3
* pypi.python.org -> pypi.org (GH-7613)Ned Deily2018-06-111-1/+1
* bpo-33516: Add support for __round__ in MagicMock (GH-6880)John Reese2018-05-221-1/+1
* 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