Bug 148437 - New port: devel/py-mock Mock unit tests for Python
Summary: New port: devel/py-mock Mock unit tests for Python
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 22:20 UTC by Jesse Kempf
Modified: 2010-07-09 22:00 UTC (History)
0 users

See Also:


Attachments
file.shar (2.08 KB, text/plain)
2010-07-07 22:20 UTC, Jesse Kempf
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 
  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"
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!