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 |
Michael Foord
|
75963643b1
|
Fix exception when calling reset_mock on a mock created with autospec
|
2012-06-09 17:31:59 +01:00 |
Michael Foord
|
3af125a4aa
|
Closes issue 14634. unittest.mock.create_autospec now supports keyword only arguments.
|
2012-04-21 18:22:28 +01:00 |
Michael Foord
|
656319e58d
|
Make unittest.mock.create_autospec resilient against AttributeError on original object
|
2012-04-13 17:39:16 +01:00 |
Michael Foord
|
c287062fcf
|
unittest.mock.PropertyMock return value and attributes are now standard MagicMocks
|
2012-04-13 16:57:22 +01:00 |
Michael Foord
|
345266aa7e
|
PEP 417: Adding unittest.mock
|
2012-03-14 12:24:34 -07:00 |