python-pytest-mock

thin-wrapper around mock for easier use with py.test (Python 2 module)

Description

This plugin installs a "mocker" fixture which is a thin-wrapper around the patching API provided by the excellent "mock" package, but with the benefit of not having to worry about undoing patches at the end of a test.

This package provides the Python 2 module.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/pytest-dev/pytest-mock/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python-pytest-mock