2c27e3e253
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 / attributes were used and arguments they were called with. You can also specify return values and set needed attributes in the normal way.
19 lines
452 B
Makefile
19 lines
452 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2011/01/29 14:53:14 gdt Exp $
|
|
#
|
|
|
|
DISTNAME= mock-0.7.0b4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://pypi.python.org/packages/source/m/mock/
|
|
|
|
MAINTAINER= gdt@ir.bbn.com
|
|
HOMEPAGE= http://pypi.python.org/pypi/mock
|
|
COMMENT= Python testing framework
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|