×

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 e8c00cdfec5a0a716046c60584049192
arch x86_64
build py312h06a4308_0
depends pytest >=4.0.0, python >=3.12,<3.13.0a0
license MIT
license_family MIT
md5 e8c00cdfec5a0a716046c60584049192
name pytest-subprocess
platform linux
sha1 9a71c39a0a8fb21d3ccd434177a2daa2ba074949
sha256 12be2bc785742e6b2b9991993184eedcc298cfb32a776017de256e7148009f93
size 42783
subdir linux-64
timestamp 1734554577531
version 1.5.2