summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unittest/testmock
Commit message (Expand)AuthorAgeFilesLines
* gh-65454: avoid triggering call to a PropertyMock in NonCallableMock.__setatt...blhsing2024-06-111-0/+8
* gh-119600: mock: do not access attributes of original when new_callable is se...Robert Collins2024-06-112-0/+18
* gh-90848: Fixed create_autospec ignoring configure_mock style kwargs (#118163)infohash2024-05-021-0/+13
* gh-117860: Add tests for resolving names when import rebind names (GH-118176)Serhiy Storchaka2024-04-301-0/+67
* gh-75988: Fix issues with autospec ignoring wrapped object (#115223)infohash2024-03-081-0/+67
* gh-115274: Fix direct invocation of `testmock/testpatch.py` (#115275)Nikita Sobolev2024-02-111-1/+1
* gh-113569: Display calls in Mock.assert_has_calls failure when empty (GH-113573)wookie1842024-01-041-14/+22
* gh-111019: Align expected and actual titles in test output (#111020)James2023-10-181-7/+7
* gh-109653: Remove unused imports in the `Lib/` directory (#109803)Alex Waygood2023-09-241-1/+1
* Update Lib/test/test_unittest/testmock/testmock.py: fix typo RuntimError to R...Sangyun_LEE2023-09-031-1/+1
* gh-61215: threadingmock: Improve test suite to avoid race conditions (#106822)Mario Corchero2023-07-171-137/+58
* Remove unused branches from mock module (#106617)Chris Withers2023-07-111-2/+2
* gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302)Nikita Sobolev2023-07-071-2/+3
* gh-106458: Mark `testthreadingmock.py` with `@requires_working_threading` (GH...Mario Corchero2023-07-061-9/+11
* gh-61215: Rename `wait_until_any_call` to `wait_until_any_call_with` (#106414)Mario Corchero2023-07-041-25/+25
* gh-61215: New mock to wait for multi-threaded events to happen (#16094)Mario Corchero2023-07-031-0/+278
* bpo-44185: Added close() to mock_open __exit__ (#26902)Samet YASLAN2023-06-111-3/+3
* gh-94924: support `inspect.iscoroutinefunction` in `create_autospec(async_def...Thomas Grainger2023-06-091-0/+23
* gh-83403: Test `parent` param in `Mock.__init__` (#103630)Nikita Sobolev2023-05-301-0/+8
* gh-85934: Use getattr_static when adding mock spec (#22209)melanie witt2023-05-231-0/+31
* gh-102978: Fix mock.patch function signatures for class and staticmethod deco...Tomas R2023-04-132-0/+48
* gh-103329: Add regression test for PropertyMock with side effect (#103358)Russell Keith-Magee2023-04-081-1/+22
* fix up mock tests coverage (#100874)Chris Withers2023-01-091-8/+4
* gh-100690: Raise an AttributeError when the assert_ prefix is forgotten when ...Christian Klein2023-01-061-0/+24
* gh-100739: Respect mock spec when checking for unsafe prefixes (#100740)Christian Klein2023-01-041-0/+16
* Fix mock code coverage. (#100580)Chris Withers2022-12-281-6/+3
* Remove skipped test in test for async mocks. (#100559)Chris Withers2022-12-281-4/+0
* gh-100287: Fix unittest.mock.seal with AsyncMock (#100496)Shantanu2022-12-241-1/+13
* gh-83076: 3.8x speed improvement in (Async)Mock instantiation (#100252)Carl Meyer2022-12-231-0/+13
* gh-98086: Now ``patch.dict`` can decorate async functions (#98095)Nikita Sobolev2022-11-111-0/+17
* gh-91803: Mock - fix error when using autospec methods with seal (#92213)andrei kulakov2022-11-071-1/+4
* gh-96624: Fix test_dotted_but_module_not_loaded in testpatch.py (GH-96691)Dennis Sweeney2022-09-091-1/+1
* gh-93839: Use load_package_tests() for testmock (GH-94055)Christian Heimes2022-06-211-14/+3
* gh-93839: Move Lib/unttest/test/ to Lib/test/test_unittest/ (#94043)Victor Stinner2022-06-2112-0/+7738