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 Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
lwhsu 2010-07-09 20:53:12 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/py-mock Makefile distinfo pkg-descr pkg-plist Log: Add py-mock 0.6.0, mock unit tests for Python. PR: ports/148437 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) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!