summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/testmock
Commit message (Expand)AuthorAgeFilesLines
* bpo-21478: Record calls to parent when autospecced objects are used as child ...Miss Islington (bot)2019-07-221-0/+37
* bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13...Xtreak2019-05-291-2/+4
* bpo-32299: Return patched dict when using patch.dict as a context manager (GH...Mario Corchero2019-05-281-0/+7
* bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-...Xtreak2019-05-281-0/+16
* bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574)Xtreak2019-05-271-2/+61
* bpo-37008: make mock_open handle able to honor next() (GH-13492)Damien Nadé2019-05-232-0/+28
* bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)Lisa Roach2019-05-202-2/+552
* bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991)Zackery Spytz2019-05-081-2/+3
* bpo-31855: unittest.mock.mock_open() results now respects the argument of rea...Rémi Lapeyre2019-05-071-1/+6
* Mock 100% coverage (GH-13045)Chris Withers2019-05-018-261/+258
* remove jython support from unittest.mock (GH#13033)Chris Withers2019-05-012-16/+0
* Don't report deleted attributes in __dir__ (GH#10148)Mario Corchero2019-04-301-0/+9
* bpo-36751: Deprecate getfullargspec and report positional-only args as regula...Pablo Galindo2019-04-301-2/+2
* bpo-23078: Add support for {class,static}method to mock.create_autospec() (G...Xtreak2019-04-223-1/+76
* bpo-36593: Fix isinstance check for Mock objects with spec executed under tra...Xtreak2019-04-131-0/+38
* bpo-36366: Return None on stopping unstarted patch object (GH-12472)Xtreak2019-03-281-2/+10
* bpo-21269: Provide args and kwargs attributes on mock call objects GH11807Kumar Akshay2019-03-222-3/+17
* Autospec functions should propagate mock calls to parent GH-11273Xtreak2019-02-251-0/+13
* bpo-35512: Resolve string target to patch.dict decorator during function call...Xtreak2019-02-242-0/+20
* 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
* Add test for double patching instance methods (#11085)Anthony Sottile2018-12-121-0/+14
* bpo-17185: Add __signature__ to mock that can be used by inspect for signatur...Xtreak2018-12-121-0/+30
* bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero2018-12-081-0/+122
* bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests ...Anirudha Bose2018-12-071-11/+16
* Remove unused function in `testmock/support.py` (GH-10975)Mario Corchero2018-12-061-7/+0
* bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_Ma...Andrew Dunai2018-12-042-2/+16
* bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)Chris Withers2018-12-032-0/+67
* bpo-32153: Add unit test for create_autospec with partial function returned i...Xtreak2018-12-031-0/+14
* 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-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)Max Bélanger2018-10-251-0/+10
* bpo-32933: Implement __iter__ method on mock_open() (GH-5974)Tony Flury2018-09-122-0/+25
* bpo-33516: Add support for __round__ in MagicMock (GH-6880)John Reese2018-05-221-0/+5
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-1/+1
* bpo-30541: Add new method to seal mocks (GH61923)Mario Corchero2017-10-171-0/+181
* Spelling fixes (#2902)Ville Skyttä2017-08-031-1/+1
* bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functi...Aaron Gallagher2017-07-201-0/+15
* bpo-28961: Address my comments from earlier code review (#305)Berker Peksag2017-02-261-12/+3
* 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 #28735: Fixed the comparison of mock.MagickMock with mock.ANY.Serhiy Storchaka2017-01-211-3/+14
| | * Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
* | | Issue #20804: The unittest.mock.sentinel attributes now preserve theirSerhiy Storchaka2017-01-111-0/+13
|/ /
* | Fix unittest.mock._Call: don't ignore nameVictor Stinner2017-01-061-0/+14
* | Fixes issue28380: unittest.mock Mock autospec functions now properly supportGregory P. Smith2016-10-061-0/+6
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
* | Issue #26750: unittest.mock.create_autospec() now works properly forGregory P. Smith2016-08-071-21/+39
|\ \ | |/
| * Issue #26750: unittest.mock.create_autospec() now works properlyGregory P. Smith2016-08-071-21/+39
* | Issue #21271: Adds new keyword only parameters in reset_mock callKushal Das2016-06-021-0/+18