Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
2f2920a17f1b51f9536e5d4c8a9b557558c4a07a
/
Lib
/
unittest
/
mock.py
a37b958
Closes #21270 : We now override tuple methods in mock.call objects.
by Kushal Das
· 11 years ago
047f14c
Closes #21256: Printout of keyword args in deterministic order in mock calls.
by Kushal Das
· 11 years ago
68290f4
Removes unused varargs and varkwargs from assert_not_called().
by Kushal Das
· 11 years ago
8af9db3
Closes Issue 21262: New method assert_not_called for Mock.
by Kushal Das
· 11 years ago
8c14534
Closes Issue 21238: New keyword argument `unsafe` to Mock.
by Kushal Das
· 11 years ago
15f2d17
Merge
by Michael Foord
· 11 years ago
ebc1a30
Closes issue 21239. unittest.mock.patch.stopall() did not work deterministically when the same name was patched multiple times.
by Michael Foord
· 11 years ago
5d1f6c3
Merge
by Kushal Das
· 11 years ago
484f8a8
Closes Issue 21222.
by Kushal Das
· 11 years ago
fddcfa2
Closes issue 17660. You no longer need to explicitly pass create=True when patching builtin names.
by Michael Foord
· 11 years ago
01bafdc
Issue 17826. Setting an iterable side_effect on a mock created by create_autospec now works
by Michael Foord
· 11 years ago
d2623d7
Issue 20968. unittest.mock.MagicMock now supports division
by Michael Foord
· 11 years ago
5c66189
Issue #20189: Four additional builtin types (PyTypeObject,
by Larry Hastings
· 12 years ago
8ab1e51
Process DEFAULT values in mock side_effect that returns iterator.
by Andrew Svetlov
· 12 years ago
8b2cd75
Process DEFAULT values in mock side_effect that returns iterator.
by Andrew Svetlov
· 12 years ago
89e6b31
#17504: merge with 3.3.
by Ezio Melotti
· 12 years ago
31a7835
#17504: remove duplicated sentence. Patch by Radu Voicilas.
by Ezio Melotti
· 12 years ago
04cbe0c
Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open
by Michael Foord
· 12 years ago
8b53559
Merge with 3.3, issue #17047: remove doubled words added in 3.3,
by Terry Jan Reedy
· 12 years ago
0f84764
Issue #17047: remove doubled words added in 3.3
by Terry Jan Reedy
· 12 years ago
5c64df7
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.
by Antoine Pitrou
· 13 years ago
28d591c
Closes issue 15323. Improve failure message of Mock.assert_called_once_with
by Michael Foord
· 13 years ago
f7c4158
Adding patch.stopall method to unittest.mock
by Michael Foord
· 13 years ago
7596364
Fix exception when calling reset_mock on a mock created with autospec
by Michael Foord
· 13 years ago
0b43bcf
Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue
by Nick Coghlan
· 13 years ago
9cf5c9d
Remove incorrect comment
by Michael Foord
· 13 years ago
3af125a
Closes issue 14634. unittest.mock.create_autospec now supports keyword only arguments.
by Michael Foord
· 13 years ago
2cd4873
Closes issue 14636. mock objects raise exceptions from an iterable side_effect
by Michael Foord
· 13 years ago
0682a0c
Minor docstring / docs corrections for unittest.mock
by Michael Foord
· 13 years ago
656319e
Make unittest.mock.create_autospec resilient against AttributeError on original object
by Michael Foord
· 13 years ago
c287062
unittest.mock.PropertyMock return value and attributes are now standard MagicMocks
by Michael Foord
· 13 years ago
aa8ec7e
Fix unittest.mock.patch docstring
by Michael Foord
· 13 years ago
54b3db8
Minor unittest.mock.patch doc / docstring improvement
by Michael Foord
· 13 years ago
0340ea7
unittest.mock: removed another bit of Python 2 only code
by Michael Foord
· 13 years ago
944e02d
Adding unittest.mock documentation
by Michael Foord
· 13 years ago
e58a562
unittest.mock: a mock created by patch with a spec as the list argument will be callable if __call__ is in the spec
by Michael Foord
· 13 years ago
fb5d0a7
unittest.mock: remove another piece of Python 2 specific code
by Michael Foord
· 13 years ago
1ab27c6
Remove more Python 2 code from unittest.mock (obsolete function attributes)
by Michael Foord
· 13 years ago
0dccf65
Minor changes to the unittest.mock.mock_open helper
by Michael Foord
· 13 years ago
9925473
Addition of docstrings to unittest.mock helpers
by Michael Foord
· 13 years ago
a74561a
unittest.mock: set file_spec on first use
by Michael Foord
· 13 years ago
50a8c0e
Support subclassing unittest.mock._patch and fix various obscure bugs around patcher spec arguments
by Michael Foord
· 13 years ago
313f85f
unittest.mock.MagicMock objects are now unorderable by default
by Michael Foord
· 13 years ago
d7c65e2
Removed XXX from unittest.mock docstring and switch to a nicer try...except...finally
by Michael Foord
· 13 years ago
a74b3aa
Remove more Python 2 compatibility cruft from unittest.mock
by Michael Foord
· 13 years ago
c17adf4
Remove Python 2 compatibility cruft from unittest.mock
by Michael Foord
· 13 years ago
345266a
PEP 417: Adding unittest.mock
by Michael Foord
· 13 years ago