# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
python.versions 27 34 35 36 37
description A Python Mocking and Patching Library for Testing
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.
homepage http://www.voidspace.org.uk/python/mock/
master_sites pypi:m/${real_name}
distname ${real_name}-${version}
checksums rmd160 10f4cb9343d99620e298cc0ffea143ee321e4ec2 \
sha256 b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba \
if {${name} eq ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-funcsigs \
port:py${python.version}-pbr \
port:py${python.version}-six