Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Closes issue 16709. unittest test discovery sorts test files for consistent ↵ | Michael Foord | 2013-03-19 | 2 | -3/+9 | |
| | | | | | | | | | | | | test ordering | |||||
* | | | Merge with 3.3, issue #17047: remove doubled words added in 3.3, | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 | |
|\ \ \ | |/ / | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | |||||
| * | | Issue #17047: remove doubled words added in 3.3 | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | |||||
* | | | #16935: unittest now counts the module as skipped if it raises SkipTest, ↵ | Ezio Melotti | 2013-03-01 | 2 | -4/+33 | |
| | | | | | | | | | | | | instead of counting it as an error. Patch by Zachary Ware. | |||||
* | | | Issue #15132: Allow a list for the defaultTest argument of unittest.TestProgram | Petri Lehtinen | 2013-02-23 | 2 | -1/+39 | |
| | | | | | | | | | | | | Patch by Jyrki Pulliainen | |||||
* | | | Merge. Closes issue 17052. | Michael Foord | 2013-02-11 | 2 | -2/+2 | |
|\ \ \ | |/ / | ||||||
| * | | Merge | Michael Foord | 2013-02-11 | 2 | -2/+2 | |
| |\ \ | | |/ | ||||||
| | * | Correction to issue 17052 fix | Michael Foord | 2013-02-11 | 2 | -2/+2 | |
| | | | ||||||
* | | | Merge. Closes issue 17052. | Michael Foord | 2013-02-11 | 2 | -1/+19 | |
|\ \ \ | |/ / | ||||||
| * | | Merge | Michael Foord | 2013-02-11 | 2 | -1/+19 | |
| |\ \ | | |/ | ||||||
| | * | Issue 17502: unittest discovery should use self.testLoader | Michael Foord | 2013-02-11 | 2 | -1/+18 | |
| | | | ||||||
* | | | Issue #17015: When it has a spec, a Mock object now inspects its signature ↵ | Antoine Pitrou | 2013-02-02 | 3 | -85/+273 | |
| | | | | | | | | | | | | when matching calls, so that arguments can be matched positionally or by name. | |||||
* | | | Merge | Michael Foord | 2013-01-29 | 2 | -1/+47 | |
|\ \ \ | |/ / | ||||||
| * | | Merge | Michael Foord | 2013-01-29 | 2 | -1/+47 | |
| |\ \ | | |/ | ||||||
| | * | Closes issue 15505. unittest.installHandler and non-callable signal handlers. | Michael Foord | 2013-01-29 | 2 | -1/+47 | |
| | | | ||||||
* | | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 | |
|\ \ \ | |/ / | | | | | | | Patch by Serhiy Storchaka. | |||||
| * | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 | |
| |\ \ | | |/ | | | | | | | Patch by Serhiy Storchaka. | |||||
| | * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 | |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | | #16433: merge with 3.3. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | #16433: merge with 3.2. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 | |
| |\ \ | | |/ | ||||||
| | * | #16433: fix docstring of assertNotEqual. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 | |
| | | | ||||||
* | | | merge 3.3 | Benjamin Peterson | 2012-10-09 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | compare singletons by identity not equality (closes #16712) | Benjamin Peterson | 2012-10-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | Patch from Serhiy Storchaka. | |||||
* | | | Issue #16120: Use |yield from| in stdlib. | Andrew Svetlov | 2012-10-06 | 1 | -2/+1 | |
|/ / | | | | | | | Patch by Berker Peksag. | |||||
* | | Closes issue 15323. Improve failure message of Mock.assert_called_once_with | Michael Foord | 2012-09-28 | 2 | -2/+9 | |
| | | ||||||
* | | Merge | Michael Foord | 2012-09-28 | 2 | -1/+14 | |
|\ \ | |/ | ||||||
| * | Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ ↵ | Michael Foord | 2012-09-28 | 2 | -1/+14 | |
| | | | | | | | | super call | |||||
* | | Closes issue 16064. No longer hard code executable name in unittest help output. | Michael Foord | 2012-09-28 | 1 | -1/+8 | |
| | | ||||||
* | | Adding patch.stopall method to unittest.mock | Michael Foord | 2012-06-10 | 2 | -2/+38 | |
| | | ||||||
* | | Fix exception when calling reset_mock on a mock created with autospec | Michael Foord | 2012-06-09 | 3 | -0/+18 | |
| | | ||||||
* | | Close #14857: fix regression in references to PEP 3135 implicit __class__ ↵ | Nick Coghlan | 2012-05-27 | 1 | -3/+6 | |
| | | | | | | | | closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue | |||||
* | | Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test ↵ | Antoine Pitrou | 2012-04-25 | 2 | -1/+16 | |
|\ \ | |/ | | | | | class that doesn't inherit from TestCase (i.e. a mixin). | |||||
| * | Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test ↵ | Antoine Pitrou | 2012-04-25 | 2 | -1/+16 | |
| | | | | | | | | class that doesn't inherit from TestCase (i.e. a mixin). | |||||
* | | Remove incorrect comment | Michael Foord | 2012-04-21 | 1 | -1/+0 | |
| | | ||||||
* | | Closes issue 14634. unittest.mock.create_autospec now supports keyword only ↵ | Michael Foord | 2012-04-21 | 2 | -4/+22 | |
| | | | | | | | | arguments. | |||||
* | | Closes issue 14636. mock objects raise exceptions from an iterable side_effect | Michael Foord | 2012-04-21 | 2 | -3/+17 | |
| | | ||||||
* | | Minor docstring / docs corrections for unittest.mock | Michael Foord | 2012-04-13 | 1 | -6/+6 | |
| | | ||||||
* | | Make unittest.mock.create_autospec resilient against AttributeError on ↵ | Michael Foord | 2012-04-13 | 2 | -2/+29 | |
| | | | | | | | | original object | |||||
* | | unittest.mock.PropertyMock return value and attributes are now standard ↵ | Michael Foord | 2012-04-13 | 2 | -0/+14 | |
| | | | | | | | | MagicMocks | |||||
* | | Fix unittest.mock.patch docstring | Michael Foord | 2012-03-28 | 1 | -2/+0 | |
| | | ||||||
* | | Minor unittest.mock.patch doc / docstring improvement | Michael Foord | 2012-03-28 | 1 | -11/+16 | |
| | | ||||||
* | | unittest.mock: removed another bit of Python 2 only code | Michael Foord | 2012-03-25 | 1 | -6/+0 | |
| | | ||||||
* | | Adding unittest.mock documentation | Michael Foord | 2012-03-25 | 1 | -5/+3 | |
| | | ||||||
* | | unittest.mock: a mock created by patch with a spec as the list argument will ↵ | Michael Foord | 2012-03-25 | 2 | -1/+28 | |
| | | | | | | | | be callable if __call__ is in the spec | |||||
* | | unittest.mock: remove another piece of Python 2 specific code | Michael Foord | 2012-03-25 | 1 | -2/+0 | |
| | | ||||||
* | | Remove more Python 2 code from unittest.mock (obsolete function attributes) | Michael Foord | 2012-03-25 | 1 | -14/+0 | |
| | | ||||||
* | | Minor changes to the unittest.mock.mock_open helper | Michael Foord | 2012-03-25 | 1 | -5/+4 | |
| | | ||||||
* | | Addition of docstrings to unittest.mock helpers | Michael Foord | 2012-03-25 | 1 | -2/+20 | |
| | | ||||||
* | | unittest.mock: set file_spec on first use | Michael Foord | 2012-03-25 | 1 | -2/+6 | |
| | | ||||||
* | | Support subclassing unittest.mock._patch and fix various obscure bugs around ↵ | Michael Foord | 2012-03-25 | 2 | -32/+151 | |
| | | | | | | | | patcher spec arguments |