py39-pytest-mock

v 3.7.0 Updated: 4 months ago

Thin-wrapper around the mock package for easier use with py.test

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.

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

To install py39-pytest-mock, paste this in macOS terminal after installing MacPorts

sudo port install py39-pytest-mock

Add to my watchlist

Installations 2
Requested Installations 0