devel/py-flexmock - The NetBSD Packages Collection

Mock/Stub/Spy library for Python

flexmock is a testing library for Python that makes it easy to create mocks,
stubs and fakes.

The API is inspired by a Ruby library of the same name, but Python flexmock is
not a clone of the Ruby version. It omits a number of redundancies in the Ruby
flexmock API, alters some defaults, and introduces a number of Python-only
features.

flexmock's design focuses on simplicity and intuitiveness. This means that the
API is as lean as possible, though a few convenient short-hand methods are
provided to aid brevity and readability.

flexmock declarations are structured to read more like English sentences than
API calls, and it is possible to chain them together in any order to achieve
high degree of expressiveness in a single line of code.

In addition, flexmock integrates seamlessly with all major test runners to
reduce even more mock-related boilerplate code.

Build dependencies

pkgtools/cwrappers

Runtime dependencies

devel/py-setuptools lang/python39 lang/python39

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfpy27-flexmock-0.10.9.tgz
NetBSD 8.0earmv7hfpy36-flexmock-0.10.9.tgz
NetBSD 8.0earmv7hfpy37-flexmock-0.10.9.tgz
NetBSD 8.0earmv7hfpy38-flexmock-0.10.9.tgz
NetBSD 8.0earmv7hfpy39-flexmock-0.10.9.tgz
NetBSD 8.0earmv7hfpy27-flexmock-0.10.4.tgz
NetBSD 8.0earmv7hfpy36-flexmock-0.10.4.tgz
NetBSD 8.0earmv7hfpy37-flexmock-0.10.4.tgz
NetBSD 8.0earmv7hfpy38-flexmock-0.10.4.tgz
NetBSD 8.0earmv7hfpy39-flexmock-0.10.4.tgz
NetBSD 8.0earmv7hfpy27-flexmock-0.10.4.tgz
NetBSD 8.0earmv7hfpy36-flexmock-0.10.4.tgz
NetBSD 8.0earmv7hfpy37-flexmock-0.10.4.tgz
NetBSD 8.0earmv7hfpy38-flexmock-0.10.4.tgz
NetBSD 8.0earmv7hfpy39-flexmock-0.10.4.tgz
NetBSD 8.0i386py27-flexmock-0.10.4.tgz
NetBSD 8.0i386py36-flexmock-0.10.4.tgz
NetBSD 8.0i386py37-flexmock-0.10.4.tgz
NetBSD 8.0i386py38-flexmock-0.10.4.tgz
NetBSD 8.0i386py39-flexmock-0.10.4.tgz
NetBSD 8.0i386py27-flexmock-0.10.4.tgz
NetBSD 8.0i386py36-flexmock-0.10.4.tgz
NetBSD 8.0i386py37-flexmock-0.10.4.tgz
NetBSD 8.0i386py38-flexmock-0.10.4.tgz
NetBSD 8.0i386py39-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy27-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy36-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy37-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy38-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy39-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy27-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy36-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy37-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy38-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy39-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy27-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy36-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy37-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy38-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy39-flexmock-0.10.4.tgz
NetBSD 8.0powerpcpy27-flexmock-0.10.9.tgz
NetBSD 8.0powerpcpy36-flexmock-0.10.9.tgz
NetBSD 8.0powerpcpy37-flexmock-0.10.9.tgz
NetBSD 8.0powerpcpy38-flexmock-0.10.9.tgz
NetBSD 8.0powerpcpy39-flexmock-0.10.9.tgz
NetBSD 8.0x86_64py27-flexmock-0.10.4.tgz
NetBSD 8.0x86_64py36-flexmock-0.10.4.tgz
NetBSD 8.0x86_64py37-flexmock-0.10.4.tgz
NetBSD 8.0x86_64py38-flexmock-0.10.4.tgz
NetBSD 8.0x86_64py39-flexmock-0.10.4.tgz
NetBSD 8.0x86_64py27-flexmock-0.10.4.tgz
NetBSD 8.0x86_64py36-flexmock-0.10.4.tgz
NetBSD 8.0x86_64py37-flexmock-0.10.4.tgz
NetBSD 8.0x86_64py38-flexmock-0.10.4.tgz
NetBSD 8.0x86_64py39-flexmock-0.10.4.tgz
NetBSD 9.0aarch64py27-flexmock-0.10.9.tgz
NetBSD 9.0aarch64py36-flexmock-0.10.9.tgz
NetBSD 9.0aarch64py37-flexmock-0.10.9.tgz
NetBSD 9.0aarch64py38-flexmock-0.10.9.tgz
NetBSD 9.0aarch64py39-flexmock-0.10.9.tgz
NetBSD 9.0aarch64py27-flexmock-0.10.4.tgz
NetBSD 9.0aarch64py36-flexmock-0.10.4.tgz
NetBSD 9.0aarch64py37-flexmock-0.10.4.tgz
NetBSD 9.0aarch64py38-flexmock-0.10.4.tgz
NetBSD 9.0aarch64py39-flexmock-0.10.4.tgz
NetBSD 9.0aarch64py27-flexmock-0.10.4.tgz
NetBSD 9.0aarch64py36-flexmock-0.10.4.tgz
NetBSD 9.0aarch64py37-flexmock-0.10.4.tgz
NetBSD 9.0aarch64py38-flexmock-0.10.4.tgz
NetBSD 9.0aarch64py39-flexmock-0.10.4.tgz
NetBSD 9.0alphapy27-flexmock-0.10.9.tgz
NetBSD 9.0alphapy36-flexmock-0.10.9.tgz
NetBSD 9.0alphapy37-flexmock-0.10.9.tgz
NetBSD 9.0alphapy38-flexmock-0.10.9.tgz
NetBSD 9.0alphapy39-flexmock-0.10.9.tgz
NetBSD 9.0alphapy27-flexmock-0.10.4.tgz
NetBSD 9.0alphapy36-flexmock-0.10.4.tgz
NetBSD 9.0alphapy37-flexmock-0.10.4.tgz
NetBSD 9.0alphapy38-flexmock-0.10.4.tgz
NetBSD 9.0alphapy39-flexmock-0.10.4.tgz
NetBSD 9.0alphapy27-flexmock-0.10.4.tgz
NetBSD 9.0alphapy36-flexmock-0.10.4.tgz
NetBSD 9.0alphapy37-flexmock-0.10.4.tgz
NetBSD 9.0alphapy38-flexmock-0.10.4.tgz
NetBSD 9.0alphapy39-flexmock-0.10.4.tgz
NetBSD 9.0earmpy38-flexmock-0.10.4.tgz
NetBSD 9.0earmpy38-flexmock-0.10.4.tgz
NetBSD 9.0earmv6hfpy27-flexmock-0.10.9.tgz
NetBSD 9.0earmv6hfpy36-flexmock-0.10.9.tgz
NetBSD 9.0earmv6hfpy37-flexmock-0.10.9.tgz
NetBSD 9.0earmv6hfpy38-flexmock-0.10.9.tgz
NetBSD 9.0earmv6hfpy39-flexmock-0.10.9.tgz
NetBSD 9.0earmv6hfpy27-flexmock-0.10.4.tgz
NetBSD 9.0earmv6hfpy36-flexmock-0.10.4.tgz
NetBSD 9.0earmv6hfpy37-flexmock-0.10.4.tgz
NetBSD 9.0earmv6hfpy38-flexmock-0.10.4.tgz
NetBSD 9.0earmv6hfpy39-flexmock-0.10.4.tgz
NetBSD 9.0earmv6hfpy27-flexmock-0.10.4.tgz
NetBSD 9.0earmv6hfpy36-flexmock-0.10.4.tgz
NetBSD 9.0earmv6hfpy37-flexmock-0.10.4.tgz
NetBSD 9.0earmv6hfpy38-flexmock-0.10.4.tgz
NetBSD 9.0earmv6hfpy39-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy27-flexmock-0.10.9.tgz
NetBSD 9.0earmv7hfpy36-flexmock-0.10.9.tgz
NetBSD 9.0earmv7hfpy37-flexmock-0.10.9.tgz
NetBSD 9.0earmv7hfpy38-flexmock-0.10.9.tgz
NetBSD 9.0earmv7hfpy39-flexmock-0.10.9.tgz
NetBSD 9.0earmv7hfpy27-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy36-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy37-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy38-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy39-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy27-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy36-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy37-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy38-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy39-flexmock-0.10.4.tgz
NetBSD 9.0earmv7hfpy27-flexmock-0.10.9.tgz
NetBSD 9.0earmv7hfpy36-flexmock-0.10.9.tgz
NetBSD 9.0earmv7hfpy37-flexmock-0.10.9.tgz
NetBSD 9.0earmv7hfpy38-flexmock-0.10.9.tgz
NetBSD 9.0earmv7hfpy39-flexmock-0.10.9.tgz
NetBSD 9.0i386py27-flexmock-0.10.4.tgz
NetBSD 9.0i386py36-flexmock-0.10.4.tgz
NetBSD 9.0i386py37-flexmock-0.10.4.tgz
NetBSD 9.0i386py38-flexmock-0.10.4.tgz
NetBSD 9.0i386py39-flexmock-0.10.4.tgz
NetBSD 9.0i386py27-flexmock-0.10.4.tgz
NetBSD 9.0i386py36-flexmock-0.10.4.tgz
NetBSD 9.0i386py37-flexmock-0.10.4.tgz
NetBSD 9.0i386py38-flexmock-0.10.4.tgz
NetBSD 9.0i386py39-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy27-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy36-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy37-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy38-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy39-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy27-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy36-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy37-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy38-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy27-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy36-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy37-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy38-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy39-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy27-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy36-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy37-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy38-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy39-flexmock-0.10.4.tgz
NetBSD 9.0mips64ebpy36-flexmock-0.10.9.tgz
NetBSD 9.0mips64ebpy37-flexmock-0.10.9.tgz
NetBSD 9.0mips64ebpy38-flexmock-0.10.9.tgz
NetBSD 9.0mips64ebpy39-flexmock-0.10.9.tgz
NetBSD 9.0powerpcpy27-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy36-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy37-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy38-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy39-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy27-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy36-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy37-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy38-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy39-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy27-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy36-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy37-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy38-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy39-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy27-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy27-flexmock-0.10.9.tgz
NetBSD 9.0powerpcpy36-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy36-flexmock-0.10.9.tgz
NetBSD 9.0powerpcpy37-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy37-flexmock-0.10.9.tgz
NetBSD 9.0powerpcpy38-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy38-flexmock-0.10.9.tgz
NetBSD 9.0powerpcpy39-flexmock-0.10.4.tgz
NetBSD 9.0powerpcpy39-flexmock-0.10.9.tgz
NetBSD 9.0sparc64py27-flexmock-0.10.4.tgz
NetBSD 9.0sparc64py36-flexmock-0.10.4.tgz
NetBSD 9.0sparc64py37-flexmock-0.10.4.tgz
NetBSD 9.0sparc64py38-flexmock-0.10.4.tgz
NetBSD 9.0sparc64py39-flexmock-0.10.4.tgz
NetBSD 9.0sparc64py27-flexmock-0.10.4.tgz
NetBSD 9.0sparc64py36-flexmock-0.10.4.tgz
NetBSD 9.0sparc64py37-flexmock-0.10.4.tgz
NetBSD 9.0sparc64py38-flexmock-0.10.4.tgz
NetBSD 9.0sparc64py39-flexmock-0.10.4.tgz
NetBSD 9.0sparc64py27-flexmock-0.10.9.tgz
NetBSD 9.0sparc64py36-flexmock-0.10.9.tgz
NetBSD 9.0sparc64py37-flexmock-0.10.9.tgz
NetBSD 9.0sparc64py38-flexmock-0.10.9.tgz
NetBSD 9.0sparc64py39-flexmock-0.10.9.tgz
NetBSD 9.0sparcpy27-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy36-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy37-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy38-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy39-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy27-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy36-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy37-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy38-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy27-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy36-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy37-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy38-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy39-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy27-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy36-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy37-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy38-flexmock-0.10.4.tgz
NetBSD 9.0sparcpy39-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py27-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py36-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py37-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py38-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py39-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py27-flexmock-0.10.9.tgz
NetBSD 9.0x86_64py36-flexmock-0.10.9.tgz
NetBSD 9.0x86_64py37-flexmock-0.10.9.tgz
NetBSD 9.0x86_64py38-flexmock-0.10.9.tgz
NetBSD 9.0x86_64py39-flexmock-0.10.9.tgz
NetBSD 9.0x86_64py27-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py36-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py37-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py38-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py39-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py27-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py36-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py37-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py38-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py39-flexmock-0.10.4.tgz
NetBSD 9.0x86_64py27-flexmock-0.10.9.tgz
NetBSD 9.0x86_64py36-flexmock-0.10.9.tgz
NetBSD 9.0x86_64py37-flexmock-0.10.9.tgz
NetBSD 9.0x86_64py38-flexmock-0.10.9.tgz
NetBSD 9.0x86_64py39-flexmock-0.10.9.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.