×

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.

Uploaded Mon Mar 31 01:26:36 2025
md5 checksum 84d980c33316ddae9c155157af6b41fa
arch x86_64
build py38h06a4308_0
depends pytest >=4.0.0, python >=3.8,<3.9.0a0
license MIT
license_family MIT
md5 84d980c33316ddae9c155157af6b41fa
name pytest-subprocess
platform linux
sha1 00277b2ad3397b05175d15069142df16133e5b69
sha256 a777fc921afead919521249d07b97eee772ed39a19bc095c80655aef4a0294ba
size 48625
subdir linux-64
timestamp 1699985558026
version 1.5.0