devel/py-mock - The NetBSD Packages Collection

Python testing framework

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.

Build dependencies

pkgtools/cwrappers

Runtime dependencies

lang/py-six devel/py-setuptools lang/python38 lang/python38

Available binary packages

aarch64:py27-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py36-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py37-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py38-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py27-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py36-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py37-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py38-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py27-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py36-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py37-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py38-mock-3.0.5.tgz(NetBSD 9.0)
aarch64:py39-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py27-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py36-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py37-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py38-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py39-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py27-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py36-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py37-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py38-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py27-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py36-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py37-mock-3.0.5.tgz(NetBSD 9.0)
alpha:py38-mock-3.0.5.tgz(NetBSD 9.0)
earm:py27-mock-3.0.5.tgz(NetBSD 9.0)
earm:py36-mock-3.0.5.tgz(NetBSD 9.0)
earm:py37-mock-3.0.5.tgz(NetBSD 9.0)
earm:py38-mock-3.0.5.tgz(NetBSD 9.0)
earm:py27-mock-3.0.5.tgz(NetBSD 9.0)
earm:py36-mock-3.0.5.tgz(NetBSD 9.0)
earm:py37-mock-3.0.5.tgz(NetBSD 9.0)
earm:py38-mock-3.0.5.tgz(NetBSD 9.0)
earm:py27-mock-3.0.5.tgz(NetBSD 9.0)
earm:py36-mock-3.0.5.tgz(NetBSD 9.0)
earm:py37-mock-3.0.5.tgz(NetBSD 9.0)
earm:py38-mock-3.0.5.tgz(NetBSD 9.0)
earm:py39-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py27-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py36-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py37-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py38-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py39-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py27-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py36-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py37-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py38-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py27-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py36-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py37-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py38-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py27-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py36-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py37-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py38-mock-3.0.5.tgz(NetBSD 9.0)
earmv6hf:py39-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py27-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py36-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py37-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py38-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py39-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py27-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py36-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py37-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py38-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py27-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py36-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py37-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py38-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py27-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py36-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py37-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py38-mock-3.0.5.tgz(NetBSD 8.0)
earmv7hf:py27-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py36-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py37-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py38-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py39-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py27-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py36-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py37-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py38-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py27-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py36-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py37-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py38-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py27-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py36-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py37-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py38-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py27-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py36-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py37-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py38-mock-3.0.5.tgz(NetBSD 9.0)
earmv7hf:py39-mock-3.0.5.tgz(NetBSD 9.0)
i386:py27-mock-3.0.5.tgz(NetBSD 8.0)
i386:py36-mock-3.0.5.tgz(NetBSD 8.0)
i386:py37-mock-3.0.5.tgz(NetBSD 8.0)
i386:py38-mock-3.0.5.tgz(NetBSD 8.0)
i386:py27-mock-3.0.5.tgz(NetBSD 8.0)
i386:py36-mock-3.0.5.tgz(NetBSD 8.0)
i386:py37-mock-3.0.5.tgz(NetBSD 8.0)
i386:py38-mock-3.0.5.tgz(NetBSD 8.0)
i386:py27-mock-3.0.5.tgz(NetBSD 8.0)
i386:py36-mock-3.0.5.tgz(NetBSD 8.0)
i386:py37-mock-3.0.5.tgz(NetBSD 8.0)
i386:py38-mock-3.0.5.tgz(NetBSD 8.0)
i386:py39-mock-3.0.5.tgz(NetBSD 8.0)
i386:py27-mock-3.0.5.tgz(NetBSD 9.0)
i386:py36-mock-3.0.5.tgz(NetBSD 9.0)
i386:py37-mock-3.0.5.tgz(NetBSD 9.0)
i386:py38-mock-3.0.5.tgz(NetBSD 9.0)
i386:py27-mock-3.0.5.tgz(NetBSD 9.0)
i386:py36-mock-3.0.5.tgz(NetBSD 9.0)
i386:py37-mock-3.0.5.tgz(NetBSD 9.0)
i386:py38-mock-3.0.5.tgz(NetBSD 9.0)
i386:py27-mock-3.0.5.tgz(NetBSD 9.0)
i386:py36-mock-3.0.5.tgz(NetBSD 9.0)
i386:py37-mock-3.0.5.tgz(NetBSD 9.0)
i386:py38-mock-3.0.5.tgz(NetBSD 9.0)
i386:py39-mock-3.0.5.tgz(NetBSD 9.0)
m68k:py27-mock-3.0.5.tgz(NetBSD 9.0)
m68k:py36-mock-3.0.5.tgz(NetBSD 9.0)
m68k:py37-mock-3.0.5.tgz(NetBSD 9.0)
m68k:py37-mock-3.0.5.tgz(NetBSD 9.0)
m68k:py36-mock-3.0.5.tgz(NetBSD 9.0)
m68k:py37-mock-3.0.5.tgz(NetBSD 9.0)
m68k:py38-mock-3.0.5.tgz(NetBSD 9.0)
mips64eb:py27-mock-3.0.5.tgz(NetBSD 9.0)
mips64eb:py36-mock-3.0.5.tgz(NetBSD 9.0)
mips64eb:py37-mock-3.0.5.tgz(NetBSD 9.0)
mips64eb:py38-mock-3.0.5.tgz(NetBSD 9.0)
mips64eb:py27-mock-3.0.5.tgz(NetBSD 9.0)
mips64eb:py36-mock-3.0.5.tgz(NetBSD 9.0)
mips64eb:py37-mock-3.0.5.tgz(NetBSD 9.0)
mips64eb:py38-mock-3.0.5.tgz(NetBSD 9.0)
mips64eb:py39-mock-3.0.5.tgz(NetBSD 9.0)
mipsel:py27-mock-3.0.5.tgz(NetBSD 9.0)
mipsel:py36-mock-3.0.5.tgz(NetBSD 9.0)
mipsel:py37-mock-3.0.5.tgz(NetBSD 9.0)
mipsel:py38-mock-3.0.5.tgz(NetBSD 9.0)
mipsel:py39-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py27-mock-3.0.5.tgz(NetBSD 8.0)
powerpc:py36-mock-3.0.5.tgz(NetBSD 8.0)
powerpc:py37-mock-3.0.5.tgz(NetBSD 8.0)
powerpc:py38-mock-3.0.5.tgz(NetBSD 8.0)
powerpc:py27-mock-3.0.5.tgz(NetBSD 8.0)
powerpc:py36-mock-3.0.5.tgz(NetBSD 8.0)
powerpc:py37-mock-3.0.5.tgz(NetBSD 8.0)
powerpc:py38-mock-3.0.5.tgz(NetBSD 8.0)
powerpc:py39-mock-3.0.5.tgz(NetBSD 8.0)
powerpc:py27-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py36-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py37-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py38-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py39-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py27-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py36-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py37-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py38-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py27-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py36-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py37-mock-3.0.5.tgz(NetBSD 9.0)
powerpc:py38-mock-3.0.5.tgz(NetBSD 9.0)
sh3el:py27-mock-3.0.5.tgz(NetBSD 9.0)
sh3el:py36-mock-3.0.5.tgz(NetBSD 9.0)
sh3el:py37-mock-3.0.5.tgz(NetBSD 9.0)
sh3el:py38-mock-3.0.5.tgz(NetBSD 9.0)
sh3el:py27-mock-3.0.5.tgz(NetBSD 9.0)
sh3el:py36-mock-3.0.5.tgz(NetBSD 9.0)
sh3el:py37-mock-3.0.5.tgz(NetBSD 9.0)
sh3el:py38-mock-3.0.5.tgz(NetBSD 9.0)
sh3el:py39-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py27-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py36-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py37-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py38-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py39-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py27-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py36-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py37-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py38-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py27-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py36-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py37-mock-3.0.5.tgz(NetBSD 9.0)
sparc64:py38-mock-3.0.5.tgz(NetBSD 9.0)
sparc:py27-mock-3.0.5.tgz(NetBSD 9.0)
sparc:py36-mock-3.0.5.tgz(NetBSD 9.0)
sparc:py37-mock-3.0.5.tgz(NetBSD 9.0)
sparc:py38-mock-3.0.5.tgz(NetBSD 9.0)
sparc:py27-mock-3.0.5.tgz(NetBSD 9.0)
sparc:py36-mock-3.0.5.tgz(NetBSD 9.0)
sparc:py37-mock-3.0.5.tgz(NetBSD 9.0)
sparc:py38-mock-3.0.5.tgz(NetBSD 9.0)
sparc:py39-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py39-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py39-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py39-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py39-mock-3.0.5.tgz(NetBSD 8.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py39-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py27-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py36-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py37-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py38-mock-3.0.5.tgz(NetBSD 9.0)
x86_64:py39-mock-3.0.5.tgz(NetBSD 9.0)

Binary packages can be installed with pkgin or pkg_add(1). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.


[ Go up one level | Go to top of packages tree | List all packages ]