The devel/py-mock port
py3-mock-5.1.0p0 – python mocking and patching library for testing
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.x
WWW: https://mock.readthedocs.io/en/latest/
- Only for arches
-
aarch64
aarch64
alpha
amd64
amd64
arm
arm
hppa
i386
i386
mips64
mips64
mips64el
mips64el
powerpc
powerpc
powerpc64
powerpc64
riscv64
riscv64
sparc64
- Categories:
-
devel
lang/python
Library dependencies
Build dependencies
Run dependencies