summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock.rst
Commit message (Collapse)AuthorAgeFilesLines
* Add versionchanged information for mock_open.Robert Collins2015-07-231-0/+8
|\
| * Add versionchanged information for mock_open.Robert Collins2015-07-231-0/+8
| |
* | Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins2015-07-231-3/+5
|\ \ | |/
| * Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins2015-07-231-3/+5
| |
| * Fix usage of the default role.Zachary Ware2015-07-071-35/+35
| | | | | | | | | | The changes to Doc/library/unittest.mock.rst are almost entirely a selective backport of the 3.5 page.
| * Fix suspicious markupZachary Ware2015-07-071-1/+1
| |
* | Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-6/+6
|\ \ | |/ | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__.
| * Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-6/+6
| | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB.
* | merge 3.4 (#23221)Benjamin Peterson2015-01-131-1/+1
|\ \ | |/
| * fix instances of consecutive articles (closes #23221)Benjamin Peterson2015-01-131-1/+1
| | | | | | | | Patch by Karan Goel.
* | Issue #20487: Clarify meaning of "side effect" in the magic mock documentation.Berker Peksag2015-01-071-3/+4
|\ \ | |/ | | | | Patch by A.M. Kuchling.
| * Issue #20487: Clarify meaning of "side effect" in the magic mock documentation.Berker Peksag2015-01-071-3/+4
| | | | | | | | Patch by A.M. Kuchling.
* | merge with 3.4Georg Brandl2014-10-311-7/+8
|\ \ | |/
| * #22613: minor other fixes in library docs (thanks Jacques Ducasse)Georg Brandl2014-10-311-7/+8
| |
| * unittest.mock docs: fix use of default roleGeorg Brandl2014-10-311-235/+235
| |
* | unittest.mock docs: fix use of default roleGeorg Brandl2014-10-311-277/+278
| |
* | Merge with 3.4Georg Brandl2014-10-291-1/+1
|\ \ | |/
| * Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-1/+1
| |
| * Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-2/+2
| |
* | Closes Issue 21262: New method assert_not_called for Mock.Kushal Das2014-04-161-0/+14
| | | | | | | | It raises AssertionError if the mock has been called.
* | Closes Issue 21238: New keyword argument `unsafe` to Mock.Kushal Das2014-04-161-1/+7
| | | | | | | | | | It raises `AttributeError` incase of an attribute startswith assert or assret.
* | Closes issue 17660. You no longer need to explicitly pass create=True when ↵Michael Foord2014-04-141-2/+23
| | | | | | | | patching builtin names.
* | Close #20759: Fix some typos in the mock docs. (Merge with 3.3)Zachary Ware2014-02-261-2/+2
|\ \ | |/ |/|
| * Issue #20759: Fix some typos in the mock docs.Zachary Ware2014-02-261-2/+2
| |
* | Removed spaces before colons and semicolons.Serhiy Storchaka2013-12-241-11/+11
|\ \ | |/
| * Removed spaces before colons and semicolons.Serhiy Storchaka2013-12-241-11/+11
| |
* | Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-3/+3
|\ \ | |/
| * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-3/+3
| |
* | Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-3/+4
|\ \ | |/
| * Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-4/+4
| |
* | Issue #18743: Fix references to non-existant "StringIO" module.Serhiy Storchaka2013-08-161-2/+2
|\ \ | |/
| * Issue #18743: Fix references to non-existant "StringIO" module.Serhiy Storchaka2013-08-161-2/+2
| |
* | mergeBrett Cannon2013-05-251-1/+1
|\ \ | |/
| * Add a missing parenthesis.Brett Cannon2013-05-251-1/+1
| |
* | Closes issue 17467. Add readline and readlines support to ↵Michael Foord2013-03-201-2/+6
| | | | | | | | unittest.mock.mock_open
* | MergeMichael Foord2013-03-181-0/+19
|\ \ | |/
| * Documentation corrections for unittest.mockMichael Foord2013-03-181-0/+19
| |
* | Merge with 3.3, issue #17047: remove doubled words added in 3.3,Terry Jan Reedy2013-03-111-1/+1
|\ \ | |/ | | | | as reported by Serhiy Storchaka and Matthew Barnett.
| * Issue #17047: remove doubled words added in 3.3Terry Jan Reedy2013-03-111-1/+1
| | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
* | #17351: merge with 3.3.Ezio Melotti2013-03-111-8/+8
|\ \ | |/
| * #17351: merge with 3.2.Ezio Melotti2013-03-111-8/+8
| |
* | merge with 3.3Georg Brandl2013-02-031-23/+22
|\ \ | |/
| * Closes #17109: fix heading levels in mock doc.Georg Brandl2013-02-031-23/+22
| |
* | Issue #17015: When it has a spec, a Mock object now inspects its signature ↵Antoine Pitrou2013-02-021-1/+21
|/ | | | when matching calls, so that arguments can be matched positionally or by name.
* Fix typo in mock docs.Andrew Svetlov2012-10-311-1/+2
|
* Closes issue 15323. Improve failure message of Mock.assert_called_once_withMichael Foord2012-09-281-2/+2
|
* unittest.mock minor doc updateMichael Foord2012-06-101-1/+1
|
* Adding patch.stopall method to unittest.mockMichael Foord2012-06-101-2/+6
|
* Closes issue 14636. mock objects raise exceptions from an iterable side_effectMichael Foord2012-04-211-0/+14
|
* Minor docstring / docs corrections for unittest.mockMichael Foord2012-04-131-4/+4
|