summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock.rst
Commit message (Expand)AuthorAgeFilesLines
* Remove note saying patch is straightforward (#18431)Brian Curtin2020-02-101-2/+1
* bpo-37955: correct mock.patch docs with respect to the returned type (GH-15521)Paulo Henrique Silva2020-01-251-1/+2
* Fix AsyncMock base class in the docs (GH-18008)Elena Oat2020-01-151-1/+1
* bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH...Jason Fried2019-11-211-1/+1
* bpo-38753: AsyncMock added in version 3.8 (GH-17102)John Belmonte2019-11-201-0/+1
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-121-17/+17
* bpo-38163: Child mocks detect their type as sync or async (GH-16471)Lisa Roach2019-09-301-1/+27
* bpo-38136: Updates await_count and call_count to be different things (GH-16192)Lisa Roach2019-09-241-24/+13
* bpo-35685: Add examples of unittest.mock.patch.dict usage (GH-11456)Emmanuel Arias2019-09-121-4/+27
* bpo-37383: Updates docs to reflect AsyncMock call_count after await. (#15761)Lisa Roach2019-09-091-0/+14
* docs: Add references to AsyncMock in unittest.mock.patch (#13681)Mario Corchero2019-09-091-4/+16
* bpo-35946: Improve assert_called_with documentation (GH-11796)Rémi Lapeyre2019-08-291-2/+2
* Fix docs for assert_called and assert_called_once (#15197)Ismail S2019-08-121-2/+2
* bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13...Xtreak2019-05-291-1/+2
* bpo-32299: Return patched dict when using patch.dict as a context manager (GH...Mario Corchero2019-05-281-1/+10
* bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574)Xtreak2019-05-271-1/+5
* Fix RuntimeWarning in unittest.mock asyncio example (GH-13449)Xtreak2019-05-211-2/+2
* bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)Lisa Roach2019-05-201-1/+214
* bpo-21269: Provide args and kwargs attributes on mock call objects GH11807Kumar Akshay2019-03-221-8/+17
* Fix typo in unittest.mock documentation: manger -> manager (GH-12352)Joan Massich2019-03-171-1/+1
* Add example to the documentation for calling unittest.mock.patch with create=...Pablo Galindo2019-01-091-7/+28
* bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)Chris Withers2018-12-031-0/+13
* bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)Max Bélanger2018-10-251-0/+4
* unittest.mock doc: Fix references to recursive seal of Mocks (GH-9028)Mario Corchero2018-10-191-4/+5
* bpo-34962: make doctest in Doc/ now passes, and is enforced in CI (GH-9806)Stéphane Wirtel2018-10-121-32/+68
* Fix "Python" casing in a few places (GH-9001)Andrés Delfino2018-09-141-1/+1
* bpo-32933: Implement __iter__ method on mock_open() (GH-5974)Tony Flury2018-09-121-0/+4
* Fix margin in sentinel and mock_open (GH-8188)Andrés Delfino2018-07-091-21/+21
* bpo-33516: Add support for __round__ in MagicMock (GH-6880)John Reese2018-05-221-1/+1
* bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6...Stéphane Wirtel2018-05-151-2/+2
* Cleanup grammar in unittest.mock.seal documentation (#5107)Paul Ganssle2018-01-061-4/+4
* Fix miscellaneous typos (#4275)luzpaz2017-11-051-1/+1
* bpo-30541: Add new method to seal mocks (GH61923)Mario Corchero2017-10-171-0/+20
* Corrected grammar mistake in documentation (#1713)Ben Lloyd2017-05-221-2/+2
* bpo-28911: Clarify the behaviour of assert_called_once_with. (#251)Arne de Laat2017-02-231-5/+6
* Issue #20804: The unittest.mock.sentinel attributes now preserve theirSerhiy Storchaka2017-01-111-0/+4
* Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
|\
| * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
* | Issue #27531: Merge from 3.5Berker Peksag2016-07-171-1/+1
|\ \ | |/
| * Issue #27531: Update signature of Mock.assert_not_called methodBerker Peksag2016-07-171-1/+1
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-2/+5
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-2/+5
* | Issue #21271: Adds new keyword only parameters in reset_mock callKushal Das2016-06-021-2/+10
* | Fix typos in mock and exceptions docsBerker Peksag2016-04-111-1/+1
|\ \ | |/
| * Fix typos in mock and exceptions docsBerker Peksag2016-04-111-1/+1
* | Add Mock.assert_called()Victor Stinner2016-03-111-0/+28
|/
* Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-1/+1
|\
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
* | Use print function in mock docs.Berker Peksag2015-09-101-6/+6
|\ \ | |/
| * Use print function in mock docs.Berker Peksag2015-09-101-6/+6