python2-pytest-mock 1.10.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.