BSD Ports

devel/py-pytest-subprocess 1.6.0 FreeBSD

Pytest plugin to fake subprocess for pytest

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
2305eb8f7c
License
MIT
Categories
devel, python
Package size
44.0 KiB, 202.2 KiB installed

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

SystemPortVersion
FreeBSDdevel/py-pytest-subprocess1.6.0
DragonFlydevel/py-pytest-subprocess1.5.2_1

Install

Binary package:

pkg install py312-pytest-subprocess

From the ports tree:

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

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

RUN_DEPENDS=	py312-pytest-subprocess>0:devel/py-pytest-subprocess

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.6.01.6.0-1.5.2_11.6.0
FreeBSD:14:quarterly1.6.01.6.0n/a1.5.2_11.6.0
FreeBSD:15:latest1.6.01.6.0n/a1.5.2_11.5.2_1
FreeBSD:15:quarterly1.6.01.6.0n/an/an/a
FreeBSD:16:latest1.6.01.6.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 6

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 15

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

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

Commit history 2

DateCommitCreditsLog message
2305eb8f7c Yuri Victorovich devel/py-pytest-subprocess: update 1.5.4 → 1.6.0
f7433356f9 Yuri Victorovich devel/py-pytest-subprocess: update 1.5.2 → 1.5.4