summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/testmock/testmock.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue 17826. Setting an iterable side_effect on a mock created by ↵Michael Foord2014-04-141-0/+18
| | | | create_autospec now works
* MergeMichael Foord2013-11-231-15/+2
|\
| * Remove shadowed testMichael Foord2013-09-151-15/+2
| |
* | Issue #19594: Use specific asserts in unittest tests.Serhiy Storchaka2013-11-161-5/+5
|\ \
| * | Issue #19594: Use specific asserts in unittest tests.Serhiy Storchaka2013-11-161-5/+5
| | |
* | | Issue #19013: add unittest.main() epilogs to unittest.mock's own test modulesAntoine Pitrou2013-09-131-1/+0
| |/ |/|
* | Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-071-0/+4
|\ \ | |/ | | | | Patch by Michael Ford.
| * Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-071-0/+4
| | | | | | | | Patch by Michael Ford.
* | Issue #17015: When it has a spec, a Mock object now inspects its signature ↵Antoine Pitrou2013-02-021-0/+125
|/ | | | when matching calls, so that arguments can be matched positionally or by name.
* Closes issue 15323. Improve failure message of Mock.assert_called_once_withMichael Foord2012-09-281-0/+7
|
* Closes issue 14636. mock objects raise exceptions from an iterable side_effectMichael Foord2012-04-211-0/+10
|
* Fix another mock importMichael Foord2012-03-141-1/+1
|
* PEP 417: Adding unittest.mockMichael Foord2012-03-141-0/+1258