1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/devel/py-mock/pkg-descr
Li-Wen Hsu fd1aff9d40 Add py-mock 0.6.0, mock unit tests for Python.
PR:		ports/148437
Submitted by:	jessekempf at gmail.com
2010-07-09 20:53:12 +00:00

10 lines
458 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: http://pypi.python.org/pypi/mock