Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Issue #21750: mock_open.read_data can now be read from each instance, as it | Robert Collins | 2015-07-17 | 1 | -0/+5 | |
| | | | | | | | | could in Python 3.3. | |||||
* | | - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely. | Robert Collins | 2015-07-14 | 1 | -0/+3 | |
|\ \ | |/ | | | | | Patch from Nicola Palumbo and Laurent De Buyst. | |||||
| * | - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely. | Robert Collins | 2015-07-14 | 1 | -0/+3 | |
| | | | | | | | | Patch from Nicola Palumbo and Laurent De Buyst. | |||||
* | | Issue #23661: unittest.mock side_effects can now be exceptions again. | Robert Collins | 2015-07-14 | 1 | -0/+9 | |
| | | | | | | | | This was a regression vs Python 3.4. Patch from Ignacio Rossi | |||||
* | | Closes #21270 : We now override tuple methods in mock.call objects. | Kushal Das | 2014-09-16 | 1 | -0/+10 | |
| | | ||||||
* | | Suppress a couple more DeprecationWarnings in the test suite. | R David Murray | 2014-06-11 | 1 | -1/+1 | |
| | | ||||||
* | | Closes #21256: Printout of keyword args in deterministic order in mock calls. | Kushal Das | 2014-06-09 | 1 | -0/+6 | |
| | | | | | | | | | | Printout of keyword args should be in deterministic order in a mock function call. This will help to write better doctests. | |||||
* | | Closes Issue 21262: New method assert_not_called for Mock. | Kushal Das | 2014-04-16 | 1 | -0/+9 | |
| | | | | | | | | It raises AssertionError if the mock has been called. | |||||
* | | Closes Issue 21238: New keyword argument `unsafe` to Mock. | Kushal Das | 2014-04-16 | 1 | -0/+11 | |
|/ | | | | | It raises `AttributeError` incase of an attribute startswith assert or assret. | |||||
* | Closes Issue 21222. | Kushal Das | 2014-04-15 | 1 | -0/+4 | |
| | | | | Passing name keyword argument to mock.create_autospec now works. | |||||
* | Issue 17826. Setting an iterable side_effect on a mock created by ↵ | Michael Foord | 2014-04-14 | 1 | -0/+18 | |
| | | | | create_autospec now works | |||||
* | Merge | Michael Foord | 2013-11-23 | 1 | -15/+2 | |
|\ | ||||||
| * | Remove shadowed test | Michael Foord | 2013-09-15 | 1 | -15/+2 | |
| | | ||||||
* | | Issue #19594: Use specific asserts in unittest tests. | Serhiy Storchaka | 2013-11-16 | 1 | -5/+5 | |
|\ \ | ||||||
| * | | Issue #19594: Use specific asserts in unittest tests. | Serhiy Storchaka | 2013-11-16 | 1 | -5/+5 | |
| | | | ||||||
* | | | Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules | Antoine Pitrou | 2013-09-13 | 1 | -1/+0 | |
| |/ |/| | ||||||
* | | Process DEFAULT values in mock side_effect that returns iterator. | Andrew Svetlov | 2013-04-07 | 1 | -0/+4 | |
|\ \ | |/ | | | | | Patch by Michael Ford. | |||||
| * | Process DEFAULT values in mock side_effect that returns iterator. | Andrew Svetlov | 2013-04-07 | 1 | -0/+4 | |
| | | | | | | | | Patch by Michael Ford. | |||||
* | | Issue #17015: When it has a spec, a Mock object now inspects its signature ↵ | Antoine Pitrou | 2013-02-02 | 1 | -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_with | Michael Foord | 2012-09-28 | 1 | -0/+7 | |
| | ||||||
* | Closes issue 14636. mock objects raise exceptions from an iterable side_effect | Michael Foord | 2012-04-21 | 1 | -0/+10 | |
| | ||||||
* | Fix another mock import | Michael Foord | 2012-03-14 | 1 | -1/+1 | |
| | ||||||
* | PEP 417: Adding unittest.mock | Michael Foord | 2012-03-14 | 1 | -0/+1258 | |