- Name: python-mock
- Version: 3.0.5
- Release: 2
- Epoch:
- Group: Development/Languages/Python
- License: BSD
- Url: http://python-mock.sourceforge.net/
- Summary: Rolling backport of unittest.mock for all Pythons
- Architecture: noarch
- Size: 156329
- Distribution: PLD
- Vendor: pld
- Packager:
Description:
mock is a library for testing in Python. It allows you to replace
parts of your system under test with mock objects and make assertions
about how they have been used.
mock provides a core `MagicMock` class removing the need to create a
host of stubs throughout your test suite. After performing an action,
you can make assertions about which methods/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.
- OptFlags: -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic
- Cookie:
- Buildhost: ymir
Sources packages:
Other version of this rpm: