summaryrefslogtreecommitdiff
path: root/mock/tests/testmock.py
AgeCommit message (Expand)Author
2019-04-30bpo-23078: Add support for {class,static}method to mock.create_autospec() (G...Xtreak
2019-04-30bpo-36593: Fix isinstance check for Mock objects with spec executed under tra...Xtreak
2019-04-30bpo-21269: Provide args and kwargs attributes on mock call objects GH11807Kumar Akshay
2019-04-30Autospec functions should propagate mock calls to parent GH-11273Xtreak
2019-04-30bpo-35500: align expected and actual calls on mock.assert_called_with error m...Susan Su
2019-04-30bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)Pablo Galindo
2019-04-30bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero
2019-04-30bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_Ma...Andrew Dunai
2019-04-30bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)Chris Withers
2019-04-30bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302)Xtreak
2019-04-30python-2 spelling is assertRaisesRegexpChris Withers
2019-04-30bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures...Petter Strandmark
2019-04-30bpo-32933: Implement __iter__ method on mock_open() (GH-5974)Tony Flury
2019-04-30Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.Serhiy Storchaka
2019-04-27Issue #21271: Adds new keyword only parameters in reset_mock callKushal Das
2019-04-27Issue #26807: mock_open 'files' no longer error on readline at end of file.Robert Collins
2019-04-27Issue #25195: Fix a regression in mock.MagicMockBerker Peksag
2018-11-29Merge pull request #435 from jdufresne/unittest2Chris Withers
2018-09-16Drop dependency of unittest2; use stdlib unittest insteadJon Dufresne
2018-07-25Upgrade Python syntax with pyupgradeHugo
2017-10-28Drop support for EOL Python <= 2.6 & 3.0-3.2, add 3.5 & 3.6Hugo
2016-03-23Add Mock.assert_called()Victor Stinner
2016-03-23Issue #24857: Comparing call_args to a long sequence now correctly returns aBerker Peksag
2015-07-31Improve grouping of imports in tests.Robert Collins
2015-07-29Use six to detect python2/3 in test modules.Michael Fladischer
2015-07-24Issue #21750: Further fixup to be styled like other mock APIs.Robert Collins
2015-07-18Revert "Issue #21750: mock_open.read_data can now be read from each instance,...Robert Collins
2015-07-17Issue #21750: mock_open.read_data can now be read from each instance, as itRobert Collins
2015-07-17Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.Robert Collins
2015-07-14Issue #23661: unittest.mock side_effects can now be exceptions again.Robert Collins
2015-07-10Convert to a package, use pbr, update metadata.Robert Collins