A plugin to fake subprocess for pytest
The plugin adds the fake_subprocess fixture. 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.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.5.2-1.fc42 | - |
Fedora 41 | 1.5.0-9.fc41 | - |
Fedora 40 | 1.5.0-7.fc40 | - |
You can contact the maintainers of this package via email at
python-pytest-subprocess dash maintainers at fedoraproject dot org
.