BSD Ports

devel/py-test-subprocess 1.6.0 NetBSD

Pytest plugin to fake subprocess

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel, python
Package size
42.4 KiB, 216.5 KiB installed

Description

The plugin adds the fake_process fixture (and fp as an alias). It can be used it to register subprocess results so you won't need to rely on the real processes. The plugin hooks on the subprocess.Popen(), which is the base for other subprocess functions. That makes the subprocess.run(), subprocess.call(), subprocess.check_call() and subprocess.check_output() methods also functional.

Install

Binary package:

pkgin install py311-test-subprocess

From pkgsrc:

cd /usr/pkgsrc/devel/py-test-subprocess && make install clean

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-test-subprocess-1.6.0, py313-test-subprocess-1.6.0, py314-test-subprocess-1.6.0