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

devel/py-poetry-core devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-flexmock-0.12.1.tgz
NetBSD 10.0aarch64py311-flexmock-0.12.1.tgz
NetBSD 10.0aarch64py312-flexmock-0.12.1.tgz
NetBSD 10.0aarch64py310-flexmock-0.12.1.tgz
NetBSD 10.0aarch64py311-flexmock-0.12.1.tgz
NetBSD 10.0aarch64py312-flexmock-0.12.1.tgz
NetBSD 10.0aarch64py38-flexmock-0.12.1.tgz
NetBSD 10.0aarch64py39-flexmock-0.12.1.tgz
NetBSD 10.0aarch64ebpy310-flexmock-0.12.1.tgz
NetBSD 10.0aarch64ebpy311-flexmock-0.12.1.tgz
NetBSD 10.0aarch64ebpy312-flexmock-0.12.1.tgz
NetBSD 10.0aarch64ebpy38-flexmock-0.12.1.tgz
NetBSD 10.0aarch64ebpy39-flexmock-0.12.1.tgz
NetBSD 10.0aarch64ebpy310-flexmock-0.12.1.tgz
NetBSD 10.0aarch64ebpy311-flexmock-0.12.1.tgz
NetBSD 10.0aarch64ebpy312-flexmock-0.12.1.tgz
NetBSD 10.0aarch64ebpy38-flexmock-0.12.1.tgz
NetBSD 10.0aarch64ebpy39-flexmock-0.12.1.tgz
NetBSD 10.0alphapy310-flexmock-0.11.3.tgz
NetBSD 10.0alphapy310-flexmock-0.12.1.tgz
NetBSD 10.0alphapy311-flexmock-0.11.3.tgz
NetBSD 10.0alphapy311-flexmock-0.12.1.tgz
NetBSD 10.0alphapy312-flexmock-0.11.3.tgz
NetBSD 10.0alphapy312-flexmock-0.12.1.tgz
NetBSD 10.0alphapy38-flexmock-0.11.3.tgz
NetBSD 10.0alphapy38-flexmock-0.12.1.tgz
NetBSD 10.0alphapy39-flexmock-0.11.3.tgz
NetBSD 10.0alphapy39-flexmock-0.12.1.tgz
NetBSD 10.0alphapy310-flexmock-0.12.1.tgz
NetBSD 10.0alphapy311-flexmock-0.12.1.tgz
NetBSD 10.0alphapy312-flexmock-0.12.1.tgz
NetBSD 10.0alphapy38-flexmock-0.12.1.tgz
NetBSD 10.0alphapy39-flexmock-0.12.1.tgz
NetBSD 10.0earmv4py310-flexmock-0.12.1.tgz
NetBSD 10.0earmv4py311-flexmock-0.12.1.tgz
NetBSD 10.0earmv4py312-flexmock-0.12.1.tgz
NetBSD 10.0earmv6hfpy310-flexmock-0.12.1.tgz
NetBSD 10.0earmv6hfpy311-flexmock-0.12.1.tgz
NetBSD 10.0earmv6hfpy312-flexmock-0.12.1.tgz
NetBSD 10.0earmv6hfpy310-flexmock-0.11.3.tgz
NetBSD 10.0earmv6hfpy311-flexmock-0.11.3.tgz
NetBSD 10.0earmv6hfpy312-flexmock-0.11.3.tgz
NetBSD 10.0earmv6hfpy38-flexmock-0.11.3.tgz
NetBSD 10.0earmv6hfpy39-flexmock-0.11.3.tgz
NetBSD 10.0earmv6hfpy310-flexmock-0.12.1.tgz
NetBSD 10.0earmv6hfpy311-flexmock-0.12.1.tgz
NetBSD 10.0earmv6hfpy312-flexmock-0.12.1.tgz
NetBSD 10.0earmv6hfpy38-flexmock-0.12.1.tgz
NetBSD 10.0earmv6hfpy39-flexmock-0.12.1.tgz
NetBSD 10.0earmv7hfpy310-flexmock-0.12.1.tgz
NetBSD 10.0earmv7hfpy311-flexmock-0.12.1.tgz
NetBSD 10.0earmv7hfpy312-flexmock-0.12.1.tgz
NetBSD 10.0earmv7hfpy310-flexmock-0.11.3.tgz
NetBSD 10.0earmv7hfpy311-flexmock-0.11.3.tgz
NetBSD 10.0earmv7hfpy312-flexmock-0.11.3.tgz
NetBSD 10.0earmv7hfpy38-flexmock-0.11.3.tgz
NetBSD 10.0earmv7hfpy39-flexmock-0.11.3.tgz
NetBSD 10.0earmv7hfpy310-flexmock-0.12.1.tgz
NetBSD 10.0earmv7hfpy311-flexmock-0.12.1.tgz
NetBSD 10.0earmv7hfpy312-flexmock-0.12.1.tgz
NetBSD 10.0earmv7hfpy38-flexmock-0.12.1.tgz
NetBSD 10.0earmv7hfpy39-flexmock-0.12.1.tgz
NetBSD 10.0i386py310-flexmock-0.12.1.tgz
NetBSD 10.0i386py311-flexmock-0.12.1.tgz
NetBSD 10.0i386py312-flexmock-0.12.1.tgz
NetBSD 10.0i386py310-flexmock-0.12.1.tgz
NetBSD 10.0i386py311-flexmock-0.12.1.tgz
NetBSD 10.0i386py312-flexmock-0.12.1.tgz
NetBSD 10.0i386py38-flexmock-0.12.1.tgz
NetBSD 10.0i386py39-flexmock-0.12.1.tgz
NetBSD 10.0powerpcpy310-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy311-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy38-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy39-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy310-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy311-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy312-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy38-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy39-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy310-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy311-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy312-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy38-flexmock-0.11.3.tgz
NetBSD 10.0powerpcpy39-flexmock-0.11.3.tgz
NetBSD 10.0sparc64py310-flexmock-0.12.1.tgz
NetBSD 10.0sparc64py311-flexmock-0.12.1.tgz
NetBSD 10.0sparc64py312-flexmock-0.12.1.tgz
NetBSD 10.0sparc64py38-flexmock-0.12.1.tgz
NetBSD 10.0sparc64py39-flexmock-0.12.1.tgz
NetBSD 10.0sparc64py310-flexmock-0.12.1.tgz
NetBSD 10.0sparc64py311-flexmock-0.12.1.tgz
NetBSD 10.0sparc64py312-flexmock-0.12.1.tgz
NetBSD 10.0sparc64py38-flexmock-0.12.1.tgz
NetBSD 10.0sparc64py39-flexmock-0.12.1.tgz
NetBSD 10.0sparcpy310-flexmock-0.12.1.tgz
NetBSD 10.0sparcpy311-flexmock-0.12.1.tgz
NetBSD 10.0sparcpy312-flexmock-0.12.1.tgz
NetBSD 10.0sparcpy38-flexmock-0.12.1.tgz
NetBSD 10.0sparcpy39-flexmock-0.12.1.tgz
NetBSD 10.0sparcpy310-flexmock-0.12.1.tgz
NetBSD 10.0sparcpy311-flexmock-0.12.1.tgz
NetBSD 10.0sparcpy312-flexmock-0.12.1.tgz
NetBSD 10.0sparcpy38-flexmock-0.12.1.tgz
NetBSD 10.0sparcpy39-flexmock-0.12.1.tgz
NetBSD 10.0x86_64py310-flexmock-0.12.1.tgz
NetBSD 10.0x86_64py311-flexmock-0.12.1.tgz
NetBSD 10.0x86_64py312-flexmock-0.12.1.tgz
NetBSD 10.0x86_64py310-flexmock-0.12.1.tgz
NetBSD 10.0x86_64py311-flexmock-0.12.1.tgz
NetBSD 10.0x86_64py312-flexmock-0.12.1.tgz
NetBSD 10.0x86_64py38-flexmock-0.12.1.tgz
NetBSD 10.0x86_64py39-flexmock-0.12.1.tgz
NetBSD 9.0aarch64py310-flexmock-0.12.1.tgz
NetBSD 9.0aarch64py311-flexmock-0.12.1.tgz
NetBSD 9.0aarch64py312-flexmock-0.12.1.tgz
NetBSD 9.0aarch64py310-flexmock-0.12.1.tgz
NetBSD 9.0aarch64py311-flexmock-0.12.1.tgz
NetBSD 9.0aarch64py312-flexmock-0.12.1.tgz
NetBSD 9.0aarch64py38-flexmock-0.12.1.tgz
NetBSD 9.0aarch64py39-flexmock-0.12.1.tgz
NetBSD 9.0alphapy311-flexmock-0.12.1.tgz
NetBSD 9.0alphapy310-flexmock-0.12.1.tgz
NetBSD 9.0alphapy311-flexmock-0.12.1.tgz
NetBSD 9.0earmv6hfpy310-flexmock-0.12.1.tgz
NetBSD 9.0earmv6hfpy311-flexmock-0.12.1.tgz
NetBSD 9.0earmv6hfpy312-flexmock-0.12.1.tgz
NetBSD 9.0earmv6hfpy310-flexmock-0.11.3.tgz
NetBSD 9.0earmv6hfpy311-flexmock-0.11.3.tgz
NetBSD 9.0earmv6hfpy38-flexmock-0.11.3.tgz
NetBSD 9.0earmv6hfpy39-flexmock-0.11.3.tgz
NetBSD 9.0earmv6hfpy310-flexmock-0.12.1.tgz
NetBSD 9.0earmv6hfpy311-flexmock-0.12.1.tgz
NetBSD 9.0earmv6hfpy38-flexmock-0.12.1.tgz
NetBSD 9.0earmv6hfpy39-flexmock-0.12.1.tgz
NetBSD 9.0earmv7hfpy310-flexmock-0.12.1.tgz
NetBSD 9.0earmv7hfpy311-flexmock-0.12.1.tgz
NetBSD 9.0earmv7hfpy312-flexmock-0.12.1.tgz
NetBSD 9.0earmv7hfpy310-flexmock-0.11.3.tgz
NetBSD 9.0earmv7hfpy311-flexmock-0.11.3.tgz
NetBSD 9.0earmv7hfpy38-flexmock-0.11.3.tgz
NetBSD 9.0earmv7hfpy39-flexmock-0.11.3.tgz
NetBSD 9.0earmv7hfpy310-flexmock-0.12.1.tgz
NetBSD 9.0earmv7hfpy311-flexmock-0.12.1.tgz
NetBSD 9.0earmv7hfpy38-flexmock-0.12.1.tgz
NetBSD 9.0earmv7hfpy39-flexmock-0.12.1.tgz
NetBSD 9.0i386py310-flexmock-0.12.1.tgz
NetBSD 9.0i386py311-flexmock-0.12.1.tgz
NetBSD 9.0i386py312-flexmock-0.12.1.tgz
NetBSD 9.0i386py310-flexmock-0.12.1.tgz
NetBSD 9.0i386py311-flexmock-0.12.1.tgz
NetBSD 9.0i386py312-flexmock-0.12.1.tgz
NetBSD 9.0i386py38-flexmock-0.12.1.tgz
NetBSD 9.0i386py39-flexmock-0.12.1.tgz
NetBSD 9.0m68kpy310-flexmock-0.11.3.tgz
NetBSD 9.0m68kpy38-flexmock-0.11.3.tgz
NetBSD 9.0m68kpy39-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy310-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy311-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy312-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy38-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy39-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy310-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy311-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy38-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy39-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy310-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy311-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy312-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy38-flexmock-0.11.3.tgz
NetBSD 9.0powerpcpy39-flexmock-0.11.3.tgz
NetBSD 9.0sparc64py310-flexmock-0.11.3.tgz
NetBSD 9.0sparc64py311-flexmock-0.11.3.tgz
NetBSD 9.0sparc64py312-flexmock-0.11.3.tgz
NetBSD 9.0sparc64py38-flexmock-0.11.3.tgz
NetBSD 9.0sparc64py39-flexmock-0.11.3.tgz
NetBSD 9.0sparc64py310-flexmock-0.12.1.tgz
NetBSD 9.0sparc64py311-flexmock-0.12.1.tgz
NetBSD 9.0sparc64py312-flexmock-0.12.1.tgz
NetBSD 9.0x86_64py310-flexmock-0.12.1.tgz
NetBSD 9.0x86_64py311-flexmock-0.12.1.tgz
NetBSD 9.0x86_64py312-flexmock-0.12.1.tgz
NetBSD 9.0x86_64py310-flexmock-0.12.1.tgz
NetBSD 9.0x86_64py311-flexmock-0.12.1.tgz
NetBSD 9.0x86_64py312-flexmock-0.12.1.tgz
NetBSD 9.0x86_64py38-flexmock-0.12.1.tgz
NetBSD 9.0x86_64py39-flexmock-0.12.1.tgz
NetBSD 9.3x86_64py310-flexmock-0.12.1.tgz
NetBSD 9.3x86_64py311-flexmock-0.12.1.tgz
NetBSD 9.3x86_64py312-flexmock-0.12.1.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.