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.
- Sources inherited from project openSUSE:Leap:15.0:Rings:1-MinimalX
- Links to remote openSUSE:Leap:15.0 / python-mock
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.0:Staging:D/python-mock && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
mock-2.0.0.tar.gz | 0000073684 72 KB | |
python-mock.changes | 0000010926 10.7 KB | |
python-mock.spec | 0000002348 2.29 KB | |
unittest2-fallback.patch | 0000003472 3.39 KB |
Latest Revision
Ludwig Nussel (lnussel_factory)
committed
(revision 2)
fix links
Comments 0