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
Source Files (show merged sources derived from linked package)
| Filename | Size | Changed |
|---|---|---|
| _link | 0000000130 130 Bytes | |
| mock-5.1.0.tar.gz | 0000087814 85.8 KB | |
| python-mock.changes | 0000011826 11.5 KB | |
| python-mock.spec | 0000002071 2.02 KB |
Comments 0