Bug 148437

Summary: New port: devel/py-mock Mock unit tests for Python
Product: Ports & Packages Reporter: Jesse Kempf <jkempf>
Component: Individual Port(s)Assignee: freebsd-python (Nobody) <python>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
file.shar none

Description Jesse Kempf 2010-07-07 22:20:01 UTC
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:
Comment 1 Edwin Groothuis freebsd_committer 2010-07-07 22:20:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2010-07-09 21:53:21 UTC
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 
  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
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Li-Wen Hsu freebsd_committer 2010-07-09 21:53:31 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!