The devel/py-mock,python3 port
py3-mock-4.0.3p3 – python mocking and patching library for testing (cvsweb github mirror)
Description
mock is a Python module that provides a core Mock class. It removes the need to create a host of stubs throughout your test suite. After performing an action, you can make assertions about which methods or attributes were used and arguments they were called with. You can also specify return values and set needed attributes in the normal way. The mock module also provides utility functions / objects to assist with testing, particularly monkey patching. This module backports mock to Python 2.7 and earlier versions of Python 3.xWWW: https://mock.readthedocs.io/en/latest/
Maintainer
Kurt Mosiejczuk
Categories
Build dependencies
Run dependencies
Test dependencies
Files
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/LICENSE.txt
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/METADATA
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/RECORD
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/WHEEL
- /usr/local/lib/python3.11/site-packages/mock-4.0.3.dist-info/top_level.txt
- /usr/local/lib/python3.11/site-packages/mock/
- /usr/local/lib/python3.11/site-packages/mock/__init__.py
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/backports.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/backports.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/mock.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/mock/__pycache__/mock.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/mock/backports.py
- /usr/local/lib/python3.11/site-packages/mock/mock.py