Version: 3.0.5, Package name: py-mock-3.0.5 |
Maintained by: Kurt Mosiejczuk |
Master sites: |
Flavors (export FLAVOR=xyz, setenv FLAVOR xyz):
|
Description mock is a Python module that provides a core Mock class. It removes the need to create a host of stubs throughout your test suite. After performing an action, you can make assertions about which methods or attributes were used and arguments they were called with. You can also specify return values and set needed attributes in the normal way. The mock module also provides utility functions / objects to assist with testing, particularly monkey patching. This module backports mock to Python 2.7 and earlier versions of Python 3.x |
Filesize: 27.467 KB |
Version History (View Complete History) |
|
2020-07-03 15:13:23 by Stuart Henderson | Files touched by this commit (1032) |
Log message: bump REVISION; python 3 default changed to 3.8 |
2019-12-02 15:47:52 by Kurt Mosiejczuk | Files touched by this commit (4) |
Log message: Update devel/py-mock 2.0.0 -> 3.0.5 Bring this port up to date. Drop py-pbr as BUILD_DEPENDS (sthen pointed out it is no longer used). Took MAINTAINER while here ok sthen |
2019-07-12 14:46:30 by Stuart Henderson | Files touched by this commit (853) |
Log message: replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes |
2019-05-15 06:04:43 by Kurt Mosiejczuk | Files touched by this commit (167) |
Log message: Add RUN_DEPENDS to TEST_DEPENDS automatically for ports using the lang/python port module. I've not yet come up with a port that would not need this and one can always set MODPY_TESTDEP to "no" to prevent the module from touching TEST_DEPENDS. Idea from afresh1 who pointed out the cpan module already does this. aja "I support this move." OK sthen@ |
2019-04-28 14:52:03 by Stuart Henderson | Files touched by this commit (715) |
Log message: bump all the py3 things, _SYSTEM_VERSION didn't quite work out how we expected and it's easier|safer to do it this way than fiddle with pkg_add now. thanks aja for update tests with a quick bulk. |
2017-01-03 12:19:49 by Landry Breuil | Files touched by this commit (107) |
Log message: bump ports depending on python3 in devel |
2016-06-28 10:34:10 by Alexandr Shadchin | Files touched by this commit (2) |
Log message: Update to py-mock 2.0.0. ok danj@ |
2016-06-14 12:49:04 by Daniel Jakots | Files touched by this commit (1) |
Log message: add some TEST_DEPENDS ok shadchin@ |
2015-12-26 13:48:12 by Alexandr Shadchin | Files touched by this commit (4) |
Log message: Update to py-mock 1.3.0 ok jca@ |
2015-09-29 04:51:54 by Stuart Henderson | Files touched by this commit (30) |
Log message: bump REVISION for setuptools dep change. |
2015-04-02 08:21:18 by Jasper Lievisse Adriaanse | Files touched by this commit (187) |
Log message: - switch to MODPY_PI |
2011-06-08 11:39:26 by Jasper Lievisse Adriaanse | Files touched by this commit (90) |
Log message: bump after default python version switch |