
mock 5.2.0
0
Rolling backport of unittest.mock for all Pythons
Contents
mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards.
Stars: 539, Watchers: 539, Forks: 104, Open Issues: 0The testing-cabal/mock repo was created 10 years ago and the last code push was 11 months ago.
The project is popular with 539 github stars!
How to Install mock
You can install mock using pip
pip install mock
or add it to a project with poetry
poetry add mock
Package Details
- Author
- Testing Cabal
- License
- None
- Homepage
- http://mock.readthedocs.org/en/latest/
- PyPi:
- https://pypi.org/project/mock/
- GitHub Repo:
- https://github.com/testing-cabal/mock
Classifiers
- Software Development/Libraries
- Software Development/Libraries/Python Modules
- Software Development/Testing
Related Packages
Errors
A list of common mock errors.
Code Examples
Here are some mock code examples and snippets.
pythonfix







