A Python Mocking and Patching Library for Testing

Edit Package python-mock

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.

Source Files
Filename Size Changed
mock-1.0.1.tar.gz 0000818644 799 KB
python-mock.changes 0000002343 2.29 KB
python-mock.spec 0000002091 2.04 KB
python3-mock.changes 0000000147 147 Bytes
python3-mock.spec 0000001946 1.9 KB
Comments 0
No comments available
openSUSE Build Service is sponsored by