python-pytest-mock 3.6.1 Thin-wrapper around the mock package for easier use with py.test
This plugin installs a
mocker fixture which is a thin-wrapper around the patching API provided by the
mock package, but with the benefit of not having to worry about undoing patches at the end of a test. The mocker fixture has the same API as
mock.patch, supporting the same arguments.