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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-pytest-subprocess | 1.6.0 newest | no data | - | [email protected] | 2026-11-12 |
| FreeBSD | devel/py-pytest-subprocess | 1.6.0 newest | none known | - | [email protected] | 2026-09-14 |
| DragonFly | devel/py-pytest-subprocess | 1.6.0 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-pytest-subprocess | 1.6.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-pytest-subprocess | 1.6.0 newest | no data | - | [email protected] | - |
Version history 1
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
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}pytest>=4.0.0: devel/py-pytest
Test 7
${PYTHON_PKGNAMEPREFIX}pytest>=8.4: devel/py-pytest${PYTHON_PKGNAMEPREFIX}anyio>=0: devel/py-anyio${PYTHON_PKGNAMEPREFIX}docutils>=0.12: textproc/py-docutils${PYTHON_PKGNAMEPREFIX}pygments>=2.0: textproc/py-pygments${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.15.1: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>0: devel/py-pytest-rerunfailures${PYTHON_PKGNAMEPREFIX}pytest-timeout>0: devel/py-pytest-timeout
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
| File | Size | SHA256 |
|---|---|---|
| aklajnert-pytest-subprocess-1.6.0_GH0.tar.gz | 43337 | 4d6e2734ddcd1df73d97282f31f1e4fab7d5a890ec59af5434d190897713d50a |
Commit history 1
| Date | Commit | Credits | Log 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]> |