index
:
cpython.git
2.7
3.3
3.4
3.5
3.6
benjamin-clang
benjamin-iteration-torture
buildbot-custom
master
https://github.com/python/cpython.git
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
Lib
/
unittest
/
mock.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
[3.8] bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) ...
Serhiy Storchaka
2020-04-12
1
-46/+24
*
bpo-39915: Ensure await_args_list is updated according to the order in which ...
Miss Islington (bot)
2020-03-14
1
-1/+1
*
bpo-39485: fix corner-case in method-detection of mock (GH-18255)
Miss Islington (bot)
2020-01-29
1
-5/+1
*
[3.8] bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-...
Matthew Kokotovich
2020-01-26
1
-0/+2
*
bpo-38473: Handle autospecced functions and methods used with attach_mock (GH...
Miss Islington (bot)
2020-01-25
1
-0/+4
*
bpo-38669: patch.object now raises a helpful error (GH17510)
Miss Islington (bot)
2019-12-09
1
-0/+4
*
[3.8] bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3....
Lisa Roach
2019-11-21
1
-25/+37
*
[3.8] bpo-38163: Child mocks detect their type as sync or async (GH-16471) (G...
Lisa Roach
2019-09-30
1
-2/+3
*
bpo-38161: Removes _AwaitEvent from AsyncMock. (GH-16443) (GH-16481)
Miss Islington (bot)
2019-09-30
1
-36/+0
*
bpo-38108: Makes mock objects inherit from Base (GH-16060) (GH-16470)
Miss Islington (bot)
2019-09-30
1
-36/+19
*
[3.8] bpo-38136: Updates await_count and call_count to be different things (G...
Lisa Roach
2019-09-27
1
-0/+10
*
[3.8] bpo-36871: Handle spec errors in assert_has_calls (GH-16005) (GH-16364)
Miss Islington (bot)
2019-09-25
1
-5/+21
*
[3.8] bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947)...
Lisa Roach
2019-09-21
1
-6/+12
*
bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166)
Miss Islington (bot)
2019-09-17
1
-1/+1
*
bpo-38100: Fix spelling error in unittest.mock code (GH-16168)
Miss Islington (bot)
2019-09-16
1
-3/+3
*
bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ c...
Miss Islington (bot)
2019-09-12
1
-0/+6
*
bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)
Miss Islington (bot)
2019-09-10
1
-3/+2
*
docs: Add references to AsyncMock in unittest.mock.patch (GH-13681)
Miss Islington (bot)
2019-09-10
1
-4/+5
*
bpo-37212: Preserve keyword argument order in unittest.mock.call and error me...
Miss Islington (bot)
2019-09-09
1
-1/+1
*
bpo-36743: __get__ is sometimes called without the owner argument (GH-12992) ...
Miss Islington (bot)
2019-08-29
1
-1/+1
*
bpo-36871: Ensure method signature is used when asserting mock calls to a met...
Miss Islington (bot)
2019-08-29
1
-1/+35
*
bpo-35946: Improve assert_called_with documentation (GH-11796)
Miss Islington (bot)
2019-08-29
1
-1/+1
*
bpo-21478: Record calls to parent when autospecced objects are used as child ...
Miss Islington (bot)
2019-07-22
1
-11/+16
*
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
Serhiy Storchaka
2019-06-01
1
-48/+34
*
bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13...
Xtreak
2019-05-29
1
-5/+5
*
bpo-32299: Return patched dict when using patch.dict as a context manager (GH...
Mario Corchero
2019-05-28
1
-0/+1
*
bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-...
Xtreak
2019-05-28
1
-27/+57
*
bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574)
Xtreak
2019-05-27
1
-21/+38
*
bpo-37008: make mock_open handle able to honor next() (GH-13492)
Damien Nadé
2019-05-23
1
-0/+6
*
Fix RuntimeWarning in unittest.mock asyncio example (GH-13449)
Xtreak
2019-05-21
1
-1/+1
*
bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)
Lisa Roach
2019-05-20
1
-17/+389
*
bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991)
Zackery Spytz
2019-05-08
1
-1/+2
*
bpo-31855: unittest.mock.mock_open() results now respects the argument of rea...
Rémi Lapeyre
2019-05-07
1
-25/+14
*
Mock 100% coverage (GH-13045)
Chris Withers
2019-05-01
1
-56/+5
*
remove jython support from unittest.mock (GH#13033)
Chris Withers
2019-05-01
1
-9/+2
*
Don't report deleted attributes in __dir__ (GH#10148)
Mario Corchero
2019-04-30
1
-2/+4
*
bpo-23078: Add support for {class,static}method to mock.create_autospec() (G...
Xtreak
2019-04-22
1
-1/+3
*
bpo-36593: Fix isinstance check for Mock objects with spec executed under tra...
Xtreak
2019-04-13
1
-1/+1
*
bpo-36366: Return None on stopping unstarted patch object (GH-12472)
Xtreak
2019-03-28
1
-1/+1
*
bpo-21269: Provide args and kwargs attributes on mock call objects GH11807
Kumar Akshay
2019-03-22
1
-0/+16
*
Autospec functions should propagate mock calls to parent GH-11273
Xtreak
2019-02-25
1
-0/+8
*
bpo-35512: Resolve string target to patch.dict decorator during function call...
Xtreak
2019-02-24
1
-2/+2
*
bpo-35500: align expected and actual calls on mock.assert_called_with error m...
Susan Su
2019-02-14
1
-2/+5
*
bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)
Pablo Galindo
2019-01-21
1
-4/+3
*
Fix mock_open docstring to use readline (#11176)
Xtreak
2018-12-20
1
-1/+1
*
bpo-17185: Add __signature__ to mock that can be used by inspect for signatur...
Xtreak
2018-12-12
1
-2/+4
*
bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)
Mario Corchero
2018-12-08
1
-11/+10
*
bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_Ma...
Andrew Dunai
2018-12-04
1
-14/+14
*
bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)
Chris Withers
2018-12-03
1
-23/+32
*
bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302)
Xtreak
2018-12-01
1
-1/+1
[next]