pytest-mock
Subscription: Developer
Active
Subscription: Developer
A thin wrapper around the unittest.mock package that provides a mocker fixture for pytest, simplifying mock creation, patching, and assertion with automatic cleanup after each test function completes.