summaryrefslogtreecommitdiff
path: root/mock/tests
AgeCommit message (Expand)Author
2019-05-07bpo-31855: unittest.mock.mock_open() results now respects the argument of rea...Rémi Lapeyre
2019-05-02Use basestring when checking for dictionary patching.Chris Withers
2019-05-02the one uncovered line?Chris Withers
2019-05-02tests for support code backported from Py3.Chris Withers
2019-05-02test for python 2 _isidentifierChris Withers
2019-05-02note about how to mark uncalled functions used in tests such that coverage ig...Chris Withers
2019-05-02remove a long-disabled test that wasn't present on cpython masterChris Withers
2019-05-02this also fails on pypy as per https://github.com/testing-cabal/mock/issues/452Chris Withers
2019-05-01Mock 100% coverage (GH-13045)Chris Withers
2019-05-01remove jython support from unittest.mock (GH#13033)Chris Withers
2019-04-30Don't report deleted attributes in __dir__ (GH#10148)Mario Corchero
2019-04-30Deferring fixing this into https://github.com/testing-cabal/mock/issues/452Chris Withers
2019-04-30no subtest on Py2.Chris Withers
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-36366: Return None on stopping unstarted patch object (GH-12472)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-35512: Resolve string target to patch.dict decorator during function call...Xtreak
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-30Add test for double patching instance methods (#11085)Anthony Sottile
2019-04-30Have to use the funcsigs backport on Py2.Chris Withers
2019-04-30move python 3-only code to its own file.Chris Withers
2019-04-30bpo-17185: Add __signature__ to mock that can be used by inspect for signatur...Xtreak
2019-04-30bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero
2019-04-30bring uncache helper across from cpythonChris Withers
2019-04-30bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests ...Anirudha Bose
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-30This needs to be a new-style class on Py2.Chris Withers
2019-04-30bpo-32153: Add unit test for create_autospec with partial function returned i...Xtreak
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-30fspath added in 3.6Chris Withers
2019-04-30bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)Max Bélanger
2019-04-30bpo-32933: Implement __iter__ method on mock_open() (GH-5974)Tony Flury
2019-04-30In Python 2 round() and friends use __float__ first.Chris Withers
2019-04-30bpo-33516: Add support for __round__ in MagicMock (GH-6880)John Reese
2019-04-30bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike
2019-04-30fixup importChris Withers
2019-04-30bpo-30541: Add new method to seal mocks (GH61923)Mario Corchero
2019-04-30Spelling fixes (#2902)Ville Skyttä
2019-04-30bpo-28961: Address my comments from earlier code review (#305)Berker Peksag
2019-04-30Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.Serhiy Storchaka
2019-04-30python 2 has no subtestChris Withers
2019-04-30Issue #20804: The unittest.mock.sentinel attributes now preserve theirSerhiy Storchaka
2019-04-30Fix unittest.mock._Call: don't ignore nameVictor Stinner
2019-04-30Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger