BSD Ports

devel/py-pytest-subprocess 1.6.0 MidnightBSD

Pytest plugin to fake subprocess for pytest

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
1bb8c83279
License
mit
Categories
devel, python

Description

pytest-subprocess is a pytest plugin to fake subprocess.

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.

In the other systems

The newest version among them is 1.6.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-pytest-subprocess1.6.0 newestno data-[email protected]2026-11-12
FreeBSDdevel/py-pytest-subprocess1.6.0 newestnone known-[email protected]2026-09-14
DragonFlydevel/py-pytest-subprocess1.6.0 newestnone known-[email protected]-
HardenedBSDdevel/py-pytest-subprocess1.6.0 newestno data-[email protected]-
GhostBSDdevel/py-pytest-subprocess1.6.0 newestno data-[email protected]-

Version history 1

  1. 1.6.0 1bb8c83279

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pytest-subprocess

From mports:

cd /usr/mports/devel/py-pytest-subprocess && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-subprocess>0:devel/py-pytest-subprocess

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 7

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
python:3.6+
Service scripts
none

Files

distinfo 1
FileSizeSHA256
aklajnert-pytest-subprocess-1.6.0_GH0.tar.gz433374d6e2734ddcd1df73d97282f31f1e4fab7d5a890ec59af5434d190897713d50a

Commit history 1

DateCommitCreditsLog message
1bb8c83279 Lucas Holt devel/py-pytest-subprocess: add 1.6.0 test provider
AI-Assisted-by: GPT-6 <[email protected]> Signed-off-by: Lucas Holt <[email protected]>