summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19352: Fix unittest discovery when a module can be reached through ↵Antoine Pitrou2013-10-231-1/+23
| | | | several paths (e.g. under Debian/Ubuntu with virtualenv).
* #18741: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-173-3/+3
|
* #18663: document that assertAlmostEqual also works when the values are equal ↵Ezio Melotti2013-08-111-0/+4
| | | | and add tests.
* clean the environment from pre-existing PYTHONWARNINGS for test_warningsŁukasz Langa2013-04-231-0/+12
|
* #14971: Use class method name, not function.__name__, during unittest discovery.R David Murray2013-04-111-0/+16
|
* Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-071-0/+4
| | | | Patch by Michael Ford.
* MergeMichael Foord2013-02-111-1/+1
|\
| * Correction to issue 17052 fixMichael Foord2013-02-111-1/+1
| |
* | MergeMichael Foord2013-02-111-0/+14
|\ \ | |/
| * Issue 17502: unittest discovery should use self.testLoaderMichael Foord2013-02-111-0/+14
| |
* | MergeMichael Foord2013-01-291-0/+32
|\ \ | |/
| * Closes issue 15505. unittest.installHandler and non-callable signal handlers.Michael Foord2013-01-291-0/+32
| |
* | Closes issue 15323. Improve failure message of Mock.assert_called_once_withMichael Foord2012-09-281-0/+7
| |
* | MergeMichael Foord2012-09-281-0/+13
|\ \ | |/
| * Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ ↵Michael Foord2012-09-281-0/+13
| | | | | | | | super call
* | Adding patch.stopall method to unittest.mockMichael Foord2012-06-101-0/+18
| |
* | Fix exception when calling reset_mock on a mock created with autospecMichael Foord2012-06-092-0/+15
| |
* | Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test ↵Antoine Pitrou2012-04-251-0/+15
|\ \ | |/ | | | | 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 Pitrou2012-04-251-0/+15
| | | | | | | | class that doesn't inherit from TestCase (i.e. a mixin).
* | Closes issue 14634. unittest.mock.create_autospec now supports keyword only ↵Michael Foord2012-04-211-1/+14
| | | | | | | | arguments.
* | Closes issue 14636. mock objects raise exceptions from an iterable side_effectMichael Foord2012-04-211-0/+10
| |
* | Make unittest.mock.create_autospec resilient against AttributeError on ↵Michael Foord2012-04-131-0/+23
| | | | | | | | original object
* | unittest.mock.PropertyMock return value and attributes are now standard ↵Michael Foord2012-04-131-0/+11
| | | | | | | | MagicMocks
* | unittest.mock: a mock created by patch with a spec as the list argument will ↵Michael Foord2012-03-251-0/+20
| | | | | | | | be callable if __call__ is in the spec
* | Support subclassing unittest.mock._patch and fix various obscure bugs around ↵Michael Foord2012-03-251-7/+102
| | | | | | | | patcher spec arguments
* | unittest.mock.MagicMock objects are now unorderable by defaultMichael Foord2012-03-251-0/+13
| |
* | Remove more Python 2 compatibility cruft from unittest.mockMichael Foord2012-03-141-14/+2
| |
* | And another one... mock import fix.Michael Foord2012-03-141-2/+2
| |
* | Fix another mock importMichael Foord2012-03-141-1/+1
| |
* | Fix import failure in mock testMichael Foord2012-03-141-1/+1
| |
* | PEP 417: Adding unittest.mockMichael Foord2012-03-1410-0/+4531
| |
* | Refactor unittest command line handling to always use optparseMichael Foord2012-03-121-17/+0
| |
* | Drop unused import in unittest package.Florent Xicluna2011-11-041-1/+0
| |
* | test that TestCase doesn't get cyclesBenjamin Peterson2011-07-141-0/+9
| |
* | Issue #10775: assertRaises, assertRaisesRegex, assertWarns, and ↵Ezio Melotti2011-05-061-0/+73
| | | | | | | | assertWarnsRegex now accept a keyword argument 'msg' when used as context managers. Initial patch by Winston Ewert.
* | #11763: merge with 3.2.Ezio Melotti2011-04-271-0/+36
|\ \ | |/
| * #11763: merge with 3.1.Ezio Melotti2011-04-271-0/+36
| |
* | #11282: add back the fail* methods and assertDictContainsSubset.Ezio Melotti2011-04-034-4/+75
| |
* | #11282: merge with 3.2.Ezio Melotti2011-04-031-4/+2
|\ \ | |/
| * #11282: the fail* methods will stay around a few more versions.Ezio Melotti2011-04-031-4/+2
| |
* | Merge with 3.2.Ezio Melotti2011-03-201-1/+1
|\ \ | |/
| * Save a copy of sys.warnoptions in test_program.Ezio Melotti2011-03-201-1/+1
| |
* | Issue #3080: Use repr() to format the module name on errorVictor Stinner2011-03-141-2/+2
| |
* | Closes issue 10979. unittest buffering now works with class and module setup ↵Michael Foord2011-03-171-0/+67
|\ \ | |/ | | | | and teardown
| * Issue #10979. unittest stdout buffering now works with class and module ↵Michael Foord2011-03-171-0/+67
| | | | | | | | setup and teardown.
* | Closes issue 11407. TestCase.run returns the result object used or createdMichael Foord2011-03-141-4/+39
| |
* | Remove unittest methods scheduled for removal in 3.3 -- makes the unittest ↵Georg Brandl2011-02-204-74/+4
|/ | | | test suite pass again.
* fix test_unittest: ignore DeprecationWarning on assertDictContainsSubset()Victor Stinner2011-01-032-24/+30
|
* Enable unittest.TestCase to be instantiated without providing a method name.Michael Foord2011-01-031-0/+10
| | | | Changed unittestgui to show number of discovered tests in the status bar.
* Issue 10786: unittest.TextTestRunner default stream no longer bound at ↵Michael Foord2010-12-301-0/+17
| | | | import time