{"library":"pytest-mock","type":"library","category":null,"description":"pytest-mock is a pytest plugin that provides a `mocker` fixture, acting as a thin wrapper around Python's `unittest.mock` library. It simplifies the process of creating and managing mock objects in pytest tests by automatically cleaning up mocks after each test. The library is actively maintained, with frequent updates to support new Python and pytest versions, currently at version 3.15.1.","language":"python","status":"active","version":"3.15.1","tags":["pytest","testing","mocking","fixtures"],"install":[{"cmd":"pip install pytest-mock","imports":["def test_example(mocker): ...","from pytest_mock import MockType","from pytest_mock import AsyncMockType"]}],"homepage":null,"github":"https://github.com/pytest-dev/pytest-mock","docs":"https://pytest-mock.readthedocs.io/en/latest/","changelog":"https://pytest-mock.readthedocs.io/en/latest/changelog.html","pypi":"https://pypi.org/project/pytest-mock/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":2.9,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pytest-mock/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":"stale"}}