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.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:wicked:qubes-build/python-mock && cd $_
- Create Badge
Refresh
Refresh
Source Files
Sources could not be expanded: openSUSE:Factory/python-mock: package 'python-mock' does not exist
Comments 0