pytest-mock python library

pytest-mock

Subscription: Developer
No updates yet
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.