×

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 ae3204e45e09e7fe79d5a7d5241adf52
arch x86_64
build py310h06a4308_0
depends pytest >=4.0.0, python >=3.10,<3.11.0a0
license MIT
license_family MIT
md5 ae3204e45e09e7fe79d5a7d5241adf52
name pytest-subprocess
platform linux
sha1 39804ec96368a32a6d4222cfd5b309f5fe3c5a78
sha256 2f4647b0299adaf2f60c79f8e082e960fbfd20b2c45c1a0a1b9c3b6e3c464263
size 48620
subdir linux-64
timestamp 1699985446618
version 1.5.0