python3-pytest-subprocess
Plugin to fake subprocess for pytest
Description
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.Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://github.com/aklajnert/pytest-subprocess
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…
Install python3-pytest-subprocess