summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/testmock
Commit message (Expand)AuthorAgeFilesLines
* Issue #23277: Remove unused sys and os importsBerker Peksag2016-04-241-2/+0
* Issue #25195: Fix a regression in mock.MagicMockBerker Peksag2016-03-271-0/+17
|\
| * Issue #25195: Fix a regression in mock.MagicMockBerker Peksag2016-03-271-0/+17
* | Add Mock.assert_called()Victor Stinner2016-03-111-0/+21
|/
* Issue #22138: Fix mock.patch behavior when patching descriptors. RestoreSenthil Kumaran2016-01-091-0/+26
* Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-091-0/+3
|\
| * Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag2015-09-091-0/+3
* | Issue #23004: mock_open() now reads binary data correctly when the type of re...Berker Peksag2015-08-061-0/+28
|\ \ | |/
| * Issue #23004: mock_open() now reads binary data correctly when the type of re...Berker Peksag2015-08-061-0/+28
* | Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins2015-07-232-3/+25
|\ \ | |/
| * Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins2015-07-232-3/+25
* | Issue #21750: mock_open.read_data can now be read from each instance, as itRobert Collins2015-07-172-2/+21
|\ \ | |/
| * Issue #21750: mock_open.read_data can now be read from each instance, as itRobert Collins2015-07-172-2/+21
* | - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.Robert Collins2015-07-141-0/+3
|\ \ | |/
| * - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.Robert Collins2015-07-141-0/+3
| * Issue #23310: Fix MagicMock's initializer to work with __methods__.Łukasz Langa2015-04-141-0/+15
* | Issue #23661: unittest.mock side_effects can now be exceptions again.Robert Collins2015-07-141-0/+9
* | Issue #23310: Fix MagicMock's initializer to work with __methods__.Łukasz Langa2015-04-141-0/+15
* | Issue #23568: Add rdivmod support to MagicMock() objects.Berker Peksag2015-03-141-0/+15
|\ \ | |/
| * Issue #23568: Add rdivmod support to MagicMock() objects.Berker Peksag2015-03-141-0/+15
* | Issue #23581: Add matmul support to MagicMock.Berker Peksag2015-03-121-0/+11
* | Closes #21270 : We now override tuple methods in mock.call objects.Kushal Das2014-09-161-0/+10
* | Suppress a couple more DeprecationWarnings in the test suite.R David Murray2014-06-111-1/+1
* | Closes #21256: Printout of keyword args in deterministic order in mock calls.Kushal Das2014-06-091-0/+6
* | Closes Issue 21262: New method assert_not_called for Mock.Kushal Das2014-04-161-0/+9
* | Closes Issue 21238: New keyword argument `unsafe` to Mock.Kushal Das2014-04-161-0/+11
* | MergeMichael Foord2014-04-151-1/+18
|\ \ | |/
| * Closes issue 21239. unittest.mock.patch.stopall() did not work deterministica...Michael Foord2014-04-151-1/+18
* | MergeKushal Das2014-04-151-0/+4
|\ \ | |/
| * Closes Issue 21222.Kushal Das2014-04-151-0/+4
* | Closes issue 17660. You no longer need to explicitly pass create=True when pa...Michael Foord2014-04-141-2/+22
|/
* Issue 17826. Setting an iterable side_effect on a mock created by create_auto...Michael Foord2014-04-141-0/+18
* Issue 20968. unittest.mock.MagicMock now supports divisionMichael Foord2014-04-141-0/+25
* MergeMichael Foord2013-11-231-15/+2
|\
| * Remove shadowed testMichael Foord2013-09-151-15/+2
* | Issue #19594: Use specific asserts in unittest tests.Serhiy Storchaka2013-11-164-19/+19
|\ \
| * | Issue #19594: Use specific asserts in unittest tests.Serhiy Storchaka2013-11-164-19/+19
* | | Adjust commentAntoine Pitrou2013-09-131-1/+1
* | | Issue #19013: add a __main__ to unittest.test.testmock to ease CLI invocationAntoine Pitrou2013-09-131-0/+18
* | | Issue #19013: add unittest.main() epilogs to unittest.mock's own test modulesAntoine Pitrou2013-09-133-2/+4
| |/ |/|
* | Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-071-0/+4
|\ \ | |/
| * Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-071-0/+4
* | Closes issue 17467. Add readline and readlines support to unittest.mock.mock_...Michael Foord2013-03-201-0/+83
* | Issue #17015: When it has a spec, a Mock object now inspects its signature wh...Antoine Pitrou2013-02-022-20/+164
|/
* Closes issue 15323. Improve failure message of Mock.assert_called_once_withMichael Foord2012-09-281-0/+7
* 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
* Closes issue 14634. unittest.mock.create_autospec now supports keyword only a...Michael Foord2012-04-211-1/+14
* 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 origin...Michael Foord2012-04-131-0/+23