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.1.2-1.fc35 | - |
Fedora 35 | 1.1.2-1.fc35 | - |
You can contact the maintainers of this package via email at
python-pytest-subprocess dash maintainers at fedoraproject dot org
.