Contents

pytest-mock 3.15.1

0

Thin-wrapper around the mock package for easier use with pytest

Thin-wrapper around the mock package for easier use with pytest

Stars: 2015, Watchers: 2015, Forks: 150, Open Issues: 14

The pytest-dev/pytest-mock repo was created 11 years ago and the last code push was Yesterday.
The project is very popular with an impressive 2015 github stars!

How to Install pytest-mock

You can install pytest-mock using pip

pip install pytest-mock

or add it to a project with poetry

poetry add pytest-mock

Package Details

Author
None
License
MIT
Homepage
None
PyPi:
https://pypi.org/project/pytest-mock/
Documentation:
https://pytest-mock.readthedocs.io/en/latest/
GitHub Repo:
https://github.com/pytest-dev/pytest-mock

Classifiers

  • Software Development/Testing
No  pytest-mock  pypi packages just yet.

Errors

A list of common pytest-mock errors.

Code Examples

Here are some pytest-mock code examples and snippets.

Related Packages & Articles

pytest-xdist 3.8.0

pytest xdist plugin for distributed testing, most importantly across multiple CPUs

pytest-socket 0.7.0

A plugin to use with Pytest to disable or restrict socket calls during tests to ensure network calls are prevented.