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.
- Links to remote SUSE:SLE-15-SP3:Update / python-mock
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout systemsmanagement:saltstack:products:test-dependencies/python-mock && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
mock-5.1.0.tar.gz | 0000087814 85.8 KB | |
python-mock.changes | 0000011826 11.5 KB | |
python-mock.spec | 0000002071 2.02 KB |
Latest Revision
Pablo Suárez Hernández (PSuarezHernandez)
accepted
request 1120210
from
Yeray Gutiérrez Cedrés (ygutierrez)
(revision 2)
- Update to 5.1.0 See changelog at https://mock.readthedocs.io/en/latest/changelog.html
Comments 0