Sophie

Sophie

distrib > PLD > th > ppc > by-pkgid > a6948c4aa731e373e2a984fc2cee1d0d

python3-mock-4.0.3-4.noarch.rpm

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.

Sources packages:

Other version of this rpm: