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.
Fix: Patch attached with submission follows:
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
lwhsu 2010-07-09 20:53:12 UTC
FreeBSD ports repository
devel/py-mock Makefile distinfo pkg-descr pkg-plist
Add py-mock 0.6.0, mock unit tests for Python.
Submitted by: jessekempf at gmail.com
Revision Changes Path
1.3984 +1 -0 ports/devel/Makefile
1.1 +19 -0 ports/devel/py-mock/Makefile (new)
1.1 +3 -0 ports/devel/py-mock/distinfo (new)
1.1 +9 -0 ports/devel/py-mock/pkg-descr (new)
1.1 +4 -0 ports/devel/py-mock/pkg-plist (new)
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"
Committed, with minor changes. Thanks!