A Python Mocking and Patching Library for Testing
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 / attributes were used and arguments they were called with. You can also specify return values and set needed attributes in the normal way.
Release | Stable | Testing |
---|---|---|
EPEL 7 | 2.0.0-2.el7 | - |
You can contact the maintainers of this package via email at
python3-mock dash maintainers at fedoraproject dot org
.