pytest-mock
JSON →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.
Traffic · last 30 days
total hits 15
actors 5 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France · 🇮🇹 Italy
Resources
API endpoints
full doc /v1/registry/pytest-mock
install /v1/registry/pytest-mock/install
compatibility /v1/registry/pytest-mock/compatibility