summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/testmock
Commit message (Expand)AuthorAgeFilesLines
* bpo-38669: patch.object now raises a helpful error (GH17034)Elena Oat2019-12-081-0/+4
* bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH...Jason Fried2019-11-211-16/+58
* bpo-38839: Fix some unused functions in tests (GH-17189)Adam Johnson2019-11-191-0/+1
* bpo-38163: Child mocks detect their type as sync or async (GH-16471)Lisa Roach2019-09-301-25/+42
* bpo-38161: Removes _AwaitEvent from AsyncMock. (GH-16443)Lisa Roach2019-09-301-3/+1
* bpo-38108: Makes mock objects inherit from Base (GH-16060)Lisa Roach2019-09-292-21/+37
* bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361)Samuel Freilich2019-09-242-16/+30
* bpo-36871: Handle spec errors in assert_has_calls (GH-16005)Samuel Freilich2019-09-242-0/+40
* bpo-38136: Updates await_count and call_count to be different things (GH-16192)Lisa Roach2019-09-242-18/+181
* bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947)Lisa Roach2019-09-202-49/+149
* bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166)Abraham Toriz Cruz2019-09-171-0/+8
* bpo-37555: Update _CallList.__contains__ to respect ANY (#14700)Elizabeth Uselton2019-09-132-2/+51
* bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ c...blhsing2019-09-111-0/+20
* bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)Lisa Roach2019-09-101-0/+15
* bpo-37212: Preserve keyword argument order in unittest.mock.call and error me...Xtreak2019-09-091-3/+3
* Fix assertions regarding magic methods function body that was not executed (G...Xtreak2019-09-091-9/+2
* Fix typos mostly in comments, docs and test names (GH-15209)Min ho Kim2019-08-301-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-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