A new user interface for you! Read more...

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.

Refresh
Refresh
Source Files
Filename Size Changed Actions
mock-2.0.0.tar.gz 0000073684 72 KB about 3 years
python-mock.changes 0000011173 10.9 KB 11 months
python-mock.spec 0000002338 2.28 KB 11 months
remove_unittest2.patch 0000006225 6.08 KB 11 months
Comments for python-mock 0