summaryrefslogtreecommitdiff
path: root/Lib/unittest
Commit message (Expand)AuthorAgeFilesLines
* bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ c...Miss Islington (bot)2019-09-122-0/+26
* [3.8] bpo-36373: Fix deprecation warnings (GH-15889) (GH-15901)Andrew Svetlov2019-09-111-4/+6
* bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)Miss Islington (bot)2019-09-102-3/+17
* docs: Add references to AsyncMock in unittest.mock.patch (GH-13681)Miss Islington (bot)2019-09-101-4/+5
* bpo-34596: Fallback to a default reason when @unittest.skip is uncalled (GH-9...Miss Islington (bot)2019-09-092-0/+16
* bpo-37212: Preserve keyword argument order in unittest.mock.call and error me...Miss Islington (bot)2019-09-092-4/+4
* Fix typos mostly in comments, docs and test names (GH-15209)Miss Islington (bot)2019-08-301-3/+3
* bpo-36743: __get__ is sometimes called without the owner argument (GH-12992) ...Miss Islington (bot)2019-08-291-1/+1
* bpo-36871: Ensure method signature is used when asserting mock calls to a met...Miss Islington (bot)2019-08-292-1/+83
* bpo-35946: Improve assert_called_with documentation (GH-11796)Miss Islington (bot)2019-08-281-1/+1
* bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287)Miss Islington (bot)2019-08-211-0/+6
* bpo-21478: Record calls to parent when autospecced objects are used as child ...Miss Islington (bot)2019-07-222-11/+53
* bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)Serhiy Storchaka2019-06-013-78/+39
* bpo-32972: Async test case (GH-13386)Andrew Svetlov2019-05-294-5/+371
* bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13...Xtreak2019-05-292-7/+9
* bpo-32299: Return patched dict when using patch.dict as a context manager (GH...Mario Corchero2019-05-282-0/+8
* bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-...Xtreak2019-05-282-27/+73
* bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574)Xtreak2019-05-272-23/+99
* bpo-37008: make mock_open handle able to honor next() (GH-13492)Damien Nadé2019-05-233-0/+34
* Fix RuntimeWarning in unittest.mock asyncio example (GH-13449)Xtreak2019-05-211-1/+1
* bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)Lisa Roach2019-05-203-19/+941
* Fix typo in test comment (GH-11442)Ashwin Ramaswami2019-05-181-1/+1
* bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991)Zackery Spytz2019-05-082-3/+5
* bpo-31855: unittest.mock.mock_open() results now respects the argument of rea...Rémi Lapeyre2019-05-072-26/+20
* bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)Serhiy Storchaka2019-05-061-1/+4
* Mock 100% coverage (GH-13045)Chris Withers2019-05-019-317/+263
* remove jython support from unittest.mock (GH#13033)Chris Withers2019-05-013-25/+2
* Don't report deleted attributes in __dir__ (GH#10148)Mario Corchero2019-04-302-2/+13
* bpo-36751: Deprecate getfullargspec and report positional-only args as regula...Pablo Galindo2019-04-301-2/+2
* Document that TestCase.assertCountEqual() can take iterables (GH-686)jkleint2019-04-231-3/+2
* bpo-23078: Add support for {class,static}method to mock.create_autospec() (G...Xtreak2019-04-224-2/+79
* bpo-36593: Fix isinstance check for Mock objects with spec executed under tra...Xtreak2019-04-132-1/+39
* bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)Serhiy Storchaka2019-04-012-3/+101
* bpo-36366: Return None on stopping unstarted patch object (GH-12472)Xtreak2019-03-282-3/+11
* bpo-21269: Provide args and kwargs attributes on mock call objects GH11807Kumar Akshay2019-03-223-3/+33
* Autospec functions should propagate mock calls to parent GH-11273Xtreak2019-02-252-0/+21
* bpo-35512: Resolve string target to patch.dict decorator during function call...Xtreak2019-02-243-2/+22
* bpo-35500: align expected and actual calls on mock.assert_called_with error m...Susan Su2019-02-132-9/+13
* bpo-35767: Fix unittest.loader to allow partials as test_functions (#11600)Jason Fried2019-01-232-1/+19
* bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)Pablo Galindo2019-01-212-4/+30
* Fix mock_open docstring to use readline (#11176)Xtreak2018-12-201-1/+1
* bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)Victor Stinner2018-12-171-2/+2
* Add test for double patching instance methods (#11085)Anthony Sottile2018-12-121-0/+14
* bpo-17185: Add __signature__ to mock that can be used by inspect for signatur...Xtreak2018-12-122-2/+34
* bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)Mario Corchero2018-12-082-11/+132
* bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests ...Anirudha Bose2018-12-071-11/+16
* Remove unused function in `testmock/support.py` (GH-10975)Mario Corchero2018-12-061-7/+0
* bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_Ma...Andrew Dunai2018-12-043-16/+30
* bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)Chris Withers2018-12-033-23/+99
* bpo-32153: Add unit test for create_autospec with partial function returned i...Xtreak2018-12-031-0/+14