Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes issue28380: unittest.mock Mock autospec functions now properly support | Gregory P. Smith | 2016-10-06 | 1 | -0/+6 |
| | | | | assert_called, assert_not_called, and assert_called_once. | ||||
* | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -2/+2 |
| | |||||
* | Issue #22138: Fix mock.patch behavior when patching descriptors. Restore | Senthil Kumaran | 2016-01-09 | 1 | -0/+26 |
| | | | | | | original values after patching. Patch contributed by Sean McCully. | ||||
* | Merge | Michael Foord | 2014-04-15 | 1 | -1/+18 |
|\ | |||||
| * | Closes issue 21239. unittest.mock.patch.stopall() did not work ↵ | Michael Foord | 2014-04-15 | 1 | -1/+18 |
| | | | | | | | | deterministically when the same name was patched multiple times. | ||||
* | | Closes issue 17660. You no longer need to explicitly pass create=True when ↵ | Michael Foord | 2014-04-14 | 1 | -2/+22 |
|/ | | | | patching builtin names. | ||||
* | Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules | Antoine Pitrou | 2013-09-13 | 1 | -1/+0 |
| | |||||
* | Adding patch.stopall method to unittest.mock | Michael Foord | 2012-06-10 | 1 | -0/+18 |
| | |||||
* | unittest.mock: a mock created by patch with a spec as the list argument will ↵ | Michael Foord | 2012-03-25 | 1 | -0/+20 |
| | | | | be callable if __call__ is in the spec | ||||
* | Support subclassing unittest.mock._patch and fix various obscure bugs around ↵ | Michael Foord | 2012-03-25 | 1 | -7/+102 |
| | | | | patcher spec arguments | ||||
* | And another one... mock import fix. | Michael Foord | 2012-03-14 | 1 | -2/+2 |
| | |||||
* | Fix import failure in mock test | Michael Foord | 2012-03-14 | 1 | -1/+1 |
| | |||||
* | PEP 417: Adding unittest.mock | Michael Foord | 2012-03-14 | 1 | -0/+1652 |