×

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 f6c89b909b7f9bc6de21fa549b8692e1
arch x86_64
build py311h06a4308_0
depends pytest >=4.0.0, python >=3.11,<3.12.0a0
license MIT
license_family MIT
md5 f6c89b909b7f9bc6de21fa549b8692e1
name pytest-subprocess
platform linux
sha1 034c8760fc5e552b00c33ac5313c721f9f4ddef6
sha256 a5ed0fa7b507aa7f264468097a3a5f43195be0d0cba91b5d7c76553c8864244c
size 56423
subdir linux-64
timestamp 1699985521001
version 1.5.0