Kushal Das
|
8af9db3e4f
|
Closes Issue 21262: New method assert_not_called for Mock.
It raises AssertionError if the mock has been called.
|
2014-04-17 01:36:14 +05:30 |
Kushal Das
|
8c14534df6
|
Closes Issue 21238: New keyword argument `unsafe` to Mock.
It raises `AttributeError` incase of an attribute startswith assert
or assret.
|
2014-04-16 23:32:21 +05:30 |
Michael Foord
|
fddcfa27fa
|
Closes issue 17660. You no longer need to explicitly pass create=True when patching builtin names.
|
2014-04-14 16:25:20 -04:00 |
Zachary Ware
|
984689821d
|
Close #20759: Fix some typos in the mock docs. (Merge with 3.3)
|
2014-02-26 09:38:39 -06:00 |
Zachary Ware
|
5ea5d2c3f7
|
Issue #20759: Fix some typos in the mock docs.
|
2014-02-26 09:34:43 -06:00 |
Serhiy Storchaka
|
f47036c130
|
Removed spaces before colons and semicolons.
|
2013-12-24 11:04:36 +02:00 |
Serhiy Storchaka
|
89e84e7523
|
Removed spaces before colons and semicolons.
|
2013-12-24 11:05:24 +02:00 |
Serhiy Storchaka
|
0e90e99188
|
Issue #19795: Improved markup of True/False constants.
|
2013-11-29 12:19:53 +02:00 |
Serhiy Storchaka
|
fbc1c26803
|
Issue #19795: Improved markup of True/False constants.
|
2013-11-29 12:17:13 +02:00 |
Serhiy Storchaka
|
98b28fddd8
|
Issue #18758: Fixed and improved cross-references.
|
2013-10-13 23:12:09 +03:00 |
Serhiy Storchaka
|
bfdcd436f0
|
Issue #18758: Fixed and improved cross-references.
|
2013-10-13 23:09:14 +03:00 |
Serhiy Storchaka
|
bbbf191707
|
Issue #18743: Fix references to non-existant "StringIO" module.
|
2013-08-17 00:11:54 +03:00 |
Serhiy Storchaka
|
e79be877df
|
Issue #18743: Fix references to non-existant "StringIO" module.
|
2013-08-17 00:09:55 +03:00 |
Brett Cannon
|
533f1ed334
|
Add a missing parenthesis.
|
2013-05-25 11:28:20 -04:00 |
Brett Cannon
|
21cc628e4c
|
merge
|
2013-05-25 11:29:03 -04:00 |
Michael Foord
|
04cbe0c35b
|
Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open
|
2013-03-19 17:22:51 -07:00 |
Michael Foord
|
35266f78b7
|
Merge
|
2013-03-18 15:04:33 -07:00 |
Michael Foord
|
f575230981
|
Documentation corrections for unittest.mock
|
2013-03-18 15:04:03 -07:00 |
Terry Jan Reedy
|
8b53559a89
|
Merge with 3.3, issue #17047: remove doubled words added in 3.3,
as reported by Serhiy Storchaka and Matthew Barnett.
|
2013-03-11 18:36:38 -04:00 |
Terry Jan Reedy
|
0f84764a09
|
Issue #17047: remove doubled words added in 3.3
as reported by Serhiy Storchaka and Matthew Barnett.
|
2013-03-11 18:34:00 -04:00 |
Ezio Melotti
|
a41fb4be5b
|
#17351: merge with 3.3.
|
2013-03-11 09:43:25 +02:00 |
Ezio Melotti
|
c9cfcf1e6c
|
#17351: merge with 3.2.
|
2013-03-11 09:42:40 +02:00 |
Georg Brandl
|
ecfb963148
|
merge with 3.3
|
2013-02-03 11:48:44 +01:00 |
Georg Brandl
|
fb13438aa5
|
Closes #17109: fix heading levels in mock doc.
|
2013-02-03 11:47:49 +01:00 |
Antoine Pitrou
|
5c64df70b5
|
Issue #17015: When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name.
|
2013-02-03 00:23:58 +01:00 |
Andrew Svetlov
|
7ea6f706ac
|
Fix typo in mock docs.
|
2012-10-31 11:29:52 +02:00 |
Michael Foord
|
28d591ceef
|
Closes issue 15323. Improve failure message of Mock.assert_called_once_with
|
2012-09-28 16:15:22 +01:00 |
Michael Foord
|
911fd327f1
|
unittest.mock minor doc update
|
2012-06-10 20:38:54 +01:00 |
Michael Foord
|
f7c4158057
|
Adding patch.stopall method to unittest.mock
|
2012-06-10 20:36:32 +01:00 |
Michael Foord
|
2cd48738ba
|
Closes issue 14636. mock objects raise exceptions from an iterable side_effect
|
2012-04-21 15:52:11 +01:00 |
Michael Foord
|
0682a0c0a9
|
Minor docstring / docs corrections for unittest.mock
|
2012-04-13 20:51:20 +01:00 |
Michael Foord
|
c287062fcf
|
unittest.mock.PropertyMock return value and attributes are now standard MagicMocks
|
2012-04-13 16:57:22 +01:00 |
Georg Brandl
|
24891672ce
|
Fix markup errors found by "make suspicious".
|
2012-04-01 13:48:26 +02:00 |
Michael Foord
|
e55f6636cc
|
Fix typo in unittest.mock docs
|
2012-03-29 13:46:50 +01:00 |
Michael Foord
|
324b58bf18
|
Update unittest.mock.patch example
|
2012-03-28 15:49:08 +01:00 |
Michael Foord
|
2309ed861a
|
Re-order unittest.mock documentation to put magic method support before the helpers
|
2012-03-28 15:38:36 +01:00 |
Michael Foord
|
901553668a
|
Adding an example to unittest.mock.patch documentation
|
2012-03-28 15:32:08 +01:00 |
Michael Foord
|
54b3db8c84
|
Minor unittest.mock.patch doc / docstring improvement
|
2012-03-28 15:08:08 +01:00 |
Michael Foord
|
a9e6fb201d
|
Unsplit unittest.mock documentation
|
2012-03-28 14:36:02 +01:00 |
Michael Foord
|
944e02d055
|
Adding unittest.mock documentation
|
2012-03-25 23:12:55 +01:00 |