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/python39 lang/python39

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfpy27-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy36-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy37-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy38-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy39-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy27-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy36-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy37-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy38-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy39-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy27-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy36-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy37-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy38-mock-3.0.5.tgz
NetBSD 8.0earmv7hfpy39-mock-3.0.5.tgz
NetBSD 8.0i386py27-mock-3.0.5.tgz
NetBSD 8.0i386py36-mock-3.0.5.tgz
NetBSD 8.0i386py37-mock-3.0.5.tgz
NetBSD 8.0i386py38-mock-3.0.5.tgz
NetBSD 8.0i386py39-mock-3.0.5.tgz
NetBSD 8.0i386py27-mock-3.0.5.tgz
NetBSD 8.0i386py36-mock-3.0.5.tgz
NetBSD 8.0i386py37-mock-3.0.5.tgz
NetBSD 8.0i386py38-mock-3.0.5.tgz
NetBSD 8.0i386py39-mock-3.0.5.tgz
NetBSD 8.0powerpcpy27-mock-3.0.5.tgz
NetBSD 8.0powerpcpy36-mock-3.0.5.tgz
NetBSD 8.0powerpcpy37-mock-3.0.5.tgz
NetBSD 8.0powerpcpy38-mock-3.0.5.tgz
NetBSD 8.0powerpcpy39-mock-3.0.5.tgz
NetBSD 8.0powerpcpy27-mock-3.0.5.tgz
NetBSD 8.0powerpcpy36-mock-3.0.5.tgz
NetBSD 8.0powerpcpy37-mock-3.0.5.tgz
NetBSD 8.0powerpcpy38-mock-3.0.5.tgz
NetBSD 8.0powerpcpy39-mock-3.0.5.tgz
NetBSD 8.0powerpcpy27-mock-3.0.5.tgz
NetBSD 8.0powerpcpy36-mock-3.0.5.tgz
NetBSD 8.0powerpcpy37-mock-3.0.5.tgz
NetBSD 8.0powerpcpy38-mock-3.0.5.tgz
NetBSD 8.0powerpcpy39-mock-3.0.5.tgz
NetBSD 8.0powerpcpy27-mock-3.0.5.tgz
NetBSD 8.0powerpcpy36-mock-3.0.5.tgz
NetBSD 8.0powerpcpy37-mock-3.0.5.tgz
NetBSD 8.0powerpcpy38-mock-3.0.5.tgz
NetBSD 8.0powerpcpy39-mock-3.0.5.tgz
NetBSD 8.0x86_64py27-mock-3.0.5.tgz
NetBSD 8.0x86_64py36-mock-3.0.5.tgz
NetBSD 8.0x86_64py37-mock-3.0.5.tgz
NetBSD 8.0x86_64py38-mock-3.0.5.tgz
NetBSD 8.0x86_64py39-mock-3.0.5.tgz
NetBSD 8.0x86_64py27-mock-3.0.5.tgz
NetBSD 8.0x86_64py36-mock-3.0.5.tgz
NetBSD 8.0x86_64py37-mock-3.0.5.tgz
NetBSD 8.0x86_64py38-mock-3.0.5.tgz
NetBSD 8.0x86_64py39-mock-3.0.5.tgz
NetBSD 9.0aarch64py27-mock-3.0.5.tgz
NetBSD 9.0aarch64py36-mock-3.0.5.tgz
NetBSD 9.0aarch64py37-mock-3.0.5.tgz
NetBSD 9.0aarch64py38-mock-3.0.5.tgz
NetBSD 9.0aarch64py39-mock-3.0.5.tgz
NetBSD 9.0aarch64py27-mock-3.0.5.tgz
NetBSD 9.0aarch64py36-mock-3.0.5.tgz
NetBSD 9.0aarch64py37-mock-3.0.5.tgz
NetBSD 9.0aarch64py38-mock-3.0.5.tgz
NetBSD 9.0aarch64py39-mock-3.0.5.tgz
NetBSD 9.0aarch64py27-mock-3.0.5.tgz
NetBSD 9.0aarch64py36-mock-3.0.5.tgz
NetBSD 9.0aarch64py37-mock-3.0.5.tgz
NetBSD 9.0aarch64py38-mock-3.0.5.tgz
NetBSD 9.0aarch64py39-mock-3.0.5.tgz
NetBSD 9.0alphapy27-mock-3.0.5.tgz
NetBSD 9.0alphapy36-mock-3.0.5.tgz
NetBSD 9.0alphapy37-mock-3.0.5.tgz
NetBSD 9.0alphapy38-mock-3.0.5.tgz
NetBSD 9.0alphapy39-mock-3.0.5.tgz
NetBSD 9.0alphapy27-mock-3.0.5.tgz
NetBSD 9.0alphapy36-mock-3.0.5.tgz
NetBSD 9.0alphapy37-mock-3.0.5.tgz
NetBSD 9.0alphapy38-mock-3.0.5.tgz
NetBSD 9.0alphapy39-mock-3.0.5.tgz
NetBSD 9.0alphapy27-mock-3.0.5.tgz
NetBSD 9.0alphapy36-mock-3.0.5.tgz
NetBSD 9.0alphapy37-mock-3.0.5.tgz
NetBSD 9.0alphapy38-mock-3.0.5.tgz
NetBSD 9.0alphapy39-mock-3.0.5.tgz
NetBSD 9.0earmpy27-mock-3.0.5.tgz
NetBSD 9.0earmpy36-mock-3.0.5.tgz
NetBSD 9.0earmpy37-mock-3.0.5.tgz
NetBSD 9.0earmpy38-mock-3.0.5.tgz
NetBSD 9.0earmpy39-mock-3.0.5.tgz
NetBSD 9.0earmpy27-mock-3.0.5.tgz
NetBSD 9.0earmpy36-mock-3.0.5.tgz
NetBSD 9.0earmpy37-mock-3.0.5.tgz
NetBSD 9.0earmpy38-mock-3.0.5.tgz
NetBSD 9.0earmpy39-mock-3.0.5.tgz
NetBSD 9.0earmpy27-mock-3.0.5.tgz
NetBSD 9.0earmpy36-mock-3.0.5.tgz
NetBSD 9.0earmpy37-mock-3.0.5.tgz
NetBSD 9.0earmpy38-mock-3.0.5.tgz
NetBSD 9.0earmpy39-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy27-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy36-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy37-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy38-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy39-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy27-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy36-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy37-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy38-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy39-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy27-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy36-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy37-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy38-mock-3.0.5.tgz
NetBSD 9.0earmv6hfpy39-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy27-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy36-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy37-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy38-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy39-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy27-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy36-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy37-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy38-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy39-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy27-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy36-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy37-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy38-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy39-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy27-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy36-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy37-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy38-mock-3.0.5.tgz
NetBSD 9.0earmv7hfpy39-mock-3.0.5.tgz
NetBSD 9.0i386py27-mock-3.0.5.tgz
NetBSD 9.0i386py36-mock-3.0.5.tgz
NetBSD 9.0i386py37-mock-3.0.5.tgz
NetBSD 9.0i386py38-mock-3.0.5.tgz
NetBSD 9.0i386py39-mock-3.0.5.tgz
NetBSD 9.0i386py27-mock-3.0.5.tgz
NetBSD 9.0i386py36-mock-3.0.5.tgz
NetBSD 9.0i386py37-mock-3.0.5.tgz
NetBSD 9.0i386py38-mock-3.0.5.tgz
NetBSD 9.0i386py39-mock-3.0.5.tgz
NetBSD 9.0m68kpy27-mock-3.0.5.tgz
NetBSD 9.0m68kpy36-mock-3.0.5.tgz
NetBSD 9.0m68kpy37-mock-3.0.5.tgz
NetBSD 9.0m68kpy27-mock-3.0.5.tgz
NetBSD 9.0m68kpy36-mock-3.0.5.tgz
NetBSD 9.0m68kpy37-mock-3.0.5.tgz
NetBSD 9.0m68kpy38-mock-3.0.5.tgz
NetBSD 9.0m68kpy39-mock-3.0.5.tgz
NetBSD 9.0m68kpy27-mock-3.0.5.tgz
NetBSD 9.0m68kpy36-mock-3.0.5.tgz
NetBSD 9.0m68kpy37-mock-3.0.5.tgz
NetBSD 9.0m68kpy38-mock-3.0.5.tgz
NetBSD 9.0m68kpy39-mock-3.0.5.tgz
NetBSD 9.0m68kpy27-mock-3.0.5.tgz
NetBSD 9.0m68kpy36-mock-3.0.5.tgz
NetBSD 9.0m68kpy37-mock-3.0.5.tgz
NetBSD 9.0m68kpy38-mock-3.0.5.tgz
NetBSD 9.0m68kpy39-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy27-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy36-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy37-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy38-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy39-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy27-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy36-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy37-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy38-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy27-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy36-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy37-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy38-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy39-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy27-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy36-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy37-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy38-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy39-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy27-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy36-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy37-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy38-mock-3.0.5.tgz
NetBSD 9.0mips64ebpy39-mock-3.0.5.tgz
NetBSD 9.0mipselpy27-mock-3.0.5.tgz
NetBSD 9.0mipselpy36-mock-3.0.5.tgz
NetBSD 9.0mipselpy37-mock-3.0.5.tgz
NetBSD 9.0mipselpy38-mock-3.0.5.tgz
NetBSD 9.0mipselpy39-mock-3.0.5.tgz
NetBSD 9.0mipselpy27-mock-3.0.5.tgz
NetBSD 9.0mipselpy36-mock-3.0.5.tgz
NetBSD 9.0mipselpy37-mock-3.0.5.tgz
NetBSD 9.0mipselpy38-mock-3.0.5.tgz
NetBSD 9.0mipselpy39-mock-3.0.5.tgz
NetBSD 9.0mipselpy27-mock-3.0.5.tgz
NetBSD 9.0mipselpy36-mock-3.0.5.tgz
NetBSD 9.0mipselpy37-mock-3.0.5.tgz
NetBSD 9.0mipselpy38-mock-3.0.5.tgz
NetBSD 9.0mipselpy39-mock-3.0.5.tgz
NetBSD 9.0mipselpy27-mock-3.0.5.tgz
NetBSD 9.0mipselpy36-mock-3.0.5.tgz
NetBSD 9.0mipselpy37-mock-3.0.5.tgz
NetBSD 9.0mipselpy38-mock-3.0.5.tgz
NetBSD 9.0mipselpy39-mock-3.0.5.tgz
NetBSD 9.0powerpcpy27-mock-3.0.5.tgz
NetBSD 9.0powerpcpy36-mock-3.0.5.tgz
NetBSD 9.0powerpcpy37-mock-3.0.5.tgz
NetBSD 9.0powerpcpy38-mock-3.0.5.tgz
NetBSD 9.0powerpcpy39-mock-3.0.5.tgz
NetBSD 9.0powerpcpy27-mock-3.0.5.tgz
NetBSD 9.0powerpcpy36-mock-3.0.5.tgz
NetBSD 9.0powerpcpy37-mock-3.0.5.tgz
NetBSD 9.0powerpcpy38-mock-3.0.5.tgz
NetBSD 9.0powerpcpy39-mock-3.0.5.tgz
NetBSD 9.0powerpcpy27-mock-3.0.5.tgz
NetBSD 9.0powerpcpy36-mock-3.0.5.tgz
NetBSD 9.0powerpcpy37-mock-3.0.5.tgz
NetBSD 9.0powerpcpy38-mock-3.0.5.tgz
NetBSD 9.0powerpcpy39-mock-3.0.5.tgz
NetBSD 9.0powerpcpy27-mock-3.0.5.tgz
NetBSD 9.0powerpcpy36-mock-3.0.5.tgz
NetBSD 9.0powerpcpy37-mock-3.0.5.tgz
NetBSD 9.0powerpcpy38-mock-3.0.5.tgz
NetBSD 9.0powerpcpy39-mock-3.0.5.tgz
NetBSD 9.0sh3elpy27-mock-3.0.5.tgz
NetBSD 9.0sh3elpy36-mock-3.0.5.tgz
NetBSD 9.0sh3elpy37-mock-3.0.5.tgz
NetBSD 9.0sh3elpy38-mock-3.0.5.tgz
NetBSD 9.0sh3elpy39-mock-3.0.5.tgz
NetBSD 9.0sh3elpy27-mock-3.0.5.tgz
NetBSD 9.0sh3elpy36-mock-3.0.5.tgz
NetBSD 9.0sh3elpy37-mock-3.0.5.tgz
NetBSD 9.0sh3elpy38-mock-3.0.5.tgz
NetBSD 9.0sh3elpy27-mock-3.0.5.tgz
NetBSD 9.0sh3elpy36-mock-3.0.5.tgz
NetBSD 9.0sh3elpy37-mock-3.0.5.tgz
NetBSD 9.0sh3elpy38-mock-3.0.5.tgz
NetBSD 9.0sh3elpy39-mock-3.0.5.tgz
NetBSD 9.0sh3elpy27-mock-3.0.5.tgz
NetBSD 9.0sh3elpy36-mock-3.0.5.tgz
NetBSD 9.0sh3elpy37-mock-3.0.5.tgz
NetBSD 9.0sh3elpy38-mock-3.0.5.tgz
NetBSD 9.0sh3elpy39-mock-3.0.5.tgz
NetBSD 9.0sh3elpy27-mock-3.0.5.tgz
NetBSD 9.0sh3elpy36-mock-3.0.5.tgz
NetBSD 9.0sh3elpy37-mock-3.0.5.tgz
NetBSD 9.0sh3elpy38-mock-3.0.5.tgz
NetBSD 9.0sh3elpy39-mock-3.0.5.tgz
NetBSD 9.0sparc64py27-mock-3.0.5.tgz
NetBSD 9.0sparc64py36-mock-3.0.5.tgz
NetBSD 9.0sparc64py37-mock-3.0.5.tgz
NetBSD 9.0sparc64py38-mock-3.0.5.tgz
NetBSD 9.0sparc64py39-mock-3.0.5.tgz
NetBSD 9.0sparc64py27-mock-3.0.5.tgz
NetBSD 9.0sparc64py36-mock-3.0.5.tgz
NetBSD 9.0sparc64py37-mock-3.0.5.tgz
NetBSD 9.0sparc64py38-mock-3.0.5.tgz
NetBSD 9.0sparc64py39-mock-3.0.5.tgz
NetBSD 9.0sparc64py27-mock-3.0.5.tgz
NetBSD 9.0sparc64py36-mock-3.0.5.tgz
NetBSD 9.0sparc64py37-mock-3.0.5.tgz
NetBSD 9.0sparc64py38-mock-3.0.5.tgz
NetBSD 9.0sparc64py39-mock-3.0.5.tgz
NetBSD 9.0sparcpy27-mock-3.0.5.tgz
NetBSD 9.0sparcpy36-mock-3.0.5.tgz
NetBSD 9.0sparcpy37-mock-3.0.5.tgz
NetBSD 9.0sparcpy38-mock-3.0.5.tgz
NetBSD 9.0sparcpy39-mock-3.0.5.tgz
NetBSD 9.0sparcpy27-mock-3.0.5.tgz
NetBSD 9.0sparcpy36-mock-3.0.5.tgz
NetBSD 9.0sparcpy37-mock-3.0.5.tgz
NetBSD 9.0sparcpy38-mock-3.0.5.tgz
NetBSD 9.0sparcpy27-mock-3.0.5.tgz
NetBSD 9.0sparcpy36-mock-3.0.5.tgz
NetBSD 9.0sparcpy37-mock-3.0.5.tgz
NetBSD 9.0sparcpy38-mock-3.0.5.tgz
NetBSD 9.0sparcpy39-mock-3.0.5.tgz
NetBSD 9.0sparcpy27-mock-3.0.5.tgz
NetBSD 9.0sparcpy36-mock-3.0.5.tgz
NetBSD 9.0sparcpy37-mock-3.0.5.tgz
NetBSD 9.0sparcpy38-mock-3.0.5.tgz
NetBSD 9.0sparcpy39-mock-3.0.5.tgz
NetBSD 9.0sparcpy27-mock-3.0.5.tgz
NetBSD 9.0sparcpy36-mock-3.0.5.tgz
NetBSD 9.0sparcpy37-mock-3.0.5.tgz
NetBSD 9.0sparcpy38-mock-3.0.5.tgz
NetBSD 9.0sparcpy39-mock-3.0.5.tgz
NetBSD 9.0x86_64py27-mock-3.0.5.tgz
NetBSD 9.0x86_64py36-mock-3.0.5.tgz
NetBSD 9.0x86_64py37-mock-3.0.5.tgz
NetBSD 9.0x86_64py38-mock-3.0.5.tgz
NetBSD 9.0x86_64py39-mock-3.0.5.tgz
NetBSD 9.0x86_64py27-mock-3.0.5.tgz
NetBSD 9.0x86_64py36-mock-3.0.5.tgz
NetBSD 9.0x86_64py37-mock-3.0.5.tgz
NetBSD 9.0x86_64py38-mock-3.0.5.tgz
NetBSD 9.0x86_64py39-mock-3.0.5.tgz
NetBSD 9.0x86_64py27-mock-3.0.5.tgz
NetBSD 9.0x86_64py36-mock-3.0.5.tgz
NetBSD 9.0x86_64py37-mock-3.0.5.tgz
NetBSD 9.0x86_64py38-mock-3.0.5.tgz
NetBSD 9.0x86_64py39-mock-3.0.5.tgz
NetBSD 9.0x86_64py27-mock-3.0.5.tgz
NetBSD 9.0x86_64py36-mock-3.0.5.tgz
NetBSD 9.0x86_64py37-mock-3.0.5.tgz
NetBSD 9.0x86_64py38-mock-3.0.5.tgz
NetBSD 9.0x86_64py39-mock-3.0.5.tgz
NetBSD 9.0x86_64py27-mock-3.0.5.tgz
NetBSD 9.0x86_64py36-mock-3.0.5.tgz
NetBSD 9.0x86_64py37-mock-3.0.5.tgz
NetBSD 9.0x86_64py38-mock-3.0.5.tgz
NetBSD 9.0x86_64py39-mock-3.0.5.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). 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.