mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
6670f0b757
- http://cheeseshop.python.org/ -> https://pypi.python.org/ - http://pypi.python.org/ -> https://pypi.python.org/ With hat: python Approved by: bapt (portmgr)
10 lines
459 B
Plaintext
10 lines
459 B
Plaintext
A Python Mocking and Patching Library for Testing
|
|
|
|
mock is a Python module that provides a core Mock class. It is intended to
|
|
reduce the need for creating a host of trivial 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.
|
|
|
|
WWW: https://pypi.python.org/pypi/mock
|