×

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:35 2025
md5 checksum 239bf5154d9e247ba13fa5b329ab5057
arch x86_64
build py39h06a4308_0
depends pytest >=4.0.0, python >=3.9,<3.10.0a0
license MIT
license_family MIT
md5 239bf5154d9e247ba13fa5b329ab5057
name pytest-subprocess
platform linux
sha1 9bd3305b709a70bb130971029130d48e1888d9c0
sha256 2f95d9bba60cfefd361a6de864ccdacf8ec277d56bd9658d6d1b798ed0ae894b
size 35249
subdir linux-64
timestamp 1734554529123
version 1.5.2