Antoine Pitrou
|
c9b3ef2df0
|
Issue #16997: unittest.TestCase now provides a subTest() context manager to procedurally generate, in an easy way, small test instances.
|
2013-03-20 20:16:47 +01:00 |
Michael Foord
|
04cbe0c35b
|
Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open
|
2013-03-19 17:22:51 -07:00 |
Michael Foord
|
80cbc9e998
|
Closes issue 16709. unittest test discovery sorts test files for consistent test ordering
|
2013-03-18 17:50:12 -07:00 |
Terry Jan Reedy
|
8b53559a89
|
Merge with 3.3, issue #17047: remove doubled words added in 3.3,
as reported by Serhiy Storchaka and Matthew Barnett.
|
2013-03-11 18:36:38 -04:00 |
Terry Jan Reedy
|
0f84764a09
|
Issue #17047: remove doubled words added in 3.3
as reported by Serhiy Storchaka and Matthew Barnett.
|
2013-03-11 18:34:00 -04:00 |
Ezio Melotti
|
eae2b38948
|
#16935: unittest now counts the module as skipped if it raises SkipTest, instead of counting it as an error. Patch by Zachary Ware.
|
2013-03-01 14:47:50 +02:00 |
Petri Lehtinen
|
20054477f4
|
Issue #15132: Allow a list for the defaultTest argument of unittest.TestProgram
Patch by Jyrki Pulliainen
|
2013-02-23 18:55:49 +01:00 |
Michael Foord
|
890d72d3c9
|
Merge. Closes issue 17052.
|
2013-02-11 13:33:00 +00:00 |
Michael Foord
|
b71b8ec7b1
|
Merge
|
2013-02-11 13:29:58 +00:00 |
Michael Foord
|
f78f5b11f6
|
Correction to issue 17052 fix
|
2013-02-11 13:20:52 +00:00 |
Michael Foord
|
4e08f786f0
|
Merge. Closes issue 17052.
|
2013-02-11 00:28:02 +00:00 |
Michael Foord
|
a23a39c07d
|
Merge
|
2013-02-11 00:18:07 +00:00 |
Michael Foord
|
8fd396bd22
|
Issue 17502: unittest discovery should use self.testLoader
|
2013-02-11 00:04:24 +00:00 |
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
|
beb29b1f6c
|
Merge
|
2013-01-29 23:18:48 +00:00 |
Michael Foord
|
d1da29c99d
|
Merge
|
2013-01-29 23:14:59 +00:00 |
Michael Foord
|
6debd76939
|
Closes issue 15505. unittest.installHandler and non-callable signal handlers.
|
2013-01-29 23:07:57 +00:00 |
Andrew Svetlov
|
a191959849
|
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
|
2012-12-18 21:27:16 +02:00 |
Andrew Svetlov
|
5b89840d9c
|
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
|
2012-12-18 21:26:36 +02:00 |
Andrew Svetlov
|
737fb89dd1
|
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
|
2012-12-18 21:14:22 +02:00 |
Ezio Melotti
|
dee9043423
|
#16433: merge with 3.3.
|
2012-11-08 11:09:28 +02:00 |
Ezio Melotti
|
9cfa1ff891
|
#16433: merge with 3.2.
|
2012-11-08 11:09:13 +02:00 |
Ezio Melotti
|
90eea97a33
|
#16433: fix docstring of assertNotEqual.
|
2012-11-08 11:08:39 +02:00 |
Benjamin Peterson
|
29e02a2be8
|
merge 3.3
|
2012-10-09 11:16:13 -04:00 |
Benjamin Peterson
|
b29614e047
|
compare singletons by identity not equality (closes #16712)
Patch from Serhiy Storchaka.
|
2012-10-09 11:16:03 -04:00 |
Andrew Svetlov
|
7d14015e62
|
Issue #16120: Use |yield from| in stdlib.
Patch by Berker Peksag.
|
2012-10-06 17:11:45 +03:00 |
Michael Foord
|
28d591ceef
|
Closes issue 15323. Improve failure message of Mock.assert_called_once_with
|
2012-09-28 16:15:22 +01:00 |
Michael Foord
|
8ef1fcecc5
|
Merge
|
2012-09-28 15:19:45 +01:00 |
Michael Foord
|
d38e6e516d
|
Closes issue 16064. No longer hard code executable name in unittest help output.
|
2012-09-28 15:14:37 +01:00 |
Michael Foord
|
7a1901f861
|
Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ super call
|
2012-09-28 14:14:03 +01:00 |
Michael Foord
|
f7c4158057
|
Adding patch.stopall method to unittest.mock
|
2012-06-10 20:36:32 +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 |
Nick Coghlan
|
0b43bcf528
|
Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue
|
2012-05-27 18:17:07 +10:00 |
Antoine Pitrou
|
f99983dacb
|
Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test class that doesn't inherit from TestCase (i.e. a mixin).
|
2012-04-25 14:58:17 +02:00 |
Antoine Pitrou
|
b05ac864f0
|
Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test class that doesn't inherit from TestCase (i.e. a mixin).
|
2012-04-25 14:56:46 +02:00 |
Michael Foord
|
9cf5c9d85e
|
Remove incorrect comment
|
2012-04-21 18:32:56 +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
|
2cd48738ba
|
Closes issue 14636. mock objects raise exceptions from an iterable side_effect
|
2012-04-21 15:52:11 +01:00 |
Michael Foord
|
0682a0c0a9
|
Minor docstring / docs corrections for unittest.mock
|
2012-04-13 20:51:20 +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
|
aa8ec7e076
|
Fix unittest.mock.patch docstring
|
2012-03-28 15:41:28 +01:00 |
Michael Foord
|
54b3db8c84
|
Minor unittest.mock.patch doc / docstring improvement
|
2012-03-28 15:08:08 +01:00 |
Michael Foord
|
0340ea77d1
|
unittest.mock: removed another bit of Python 2 only code
|
2012-03-25 23:27:12 +01:00 |
Michael Foord
|
944e02d055
|
Adding unittest.mock documentation
|
2012-03-25 23:12:55 +01:00 |
Michael Foord
|
e58a562d93
|
unittest.mock: a mock created by patch with a spec as the list argument will be callable if __call__ is in the spec
|
2012-03-25 19:53:18 +01:00 |
Michael Foord
|
fb5d0a78cf
|
unittest.mock: remove another piece of Python 2 specific code
|
2012-03-25 19:35:22 +01:00 |
Michael Foord
|
1ab27c6fde
|
Remove more Python 2 code from unittest.mock (obsolete function attributes)
|
2012-03-25 19:16:10 +01:00 |
Michael Foord
|
0dccf657b5
|
Minor changes to the unittest.mock.mock_open helper
|
2012-03-25 19:11:50 +01:00 |
Michael Foord
|
99254730b2
|
Addition of docstrings to unittest.mock helpers
|
2012-03-25 19:07:33 +01:00 |