A tutorial walkthrough on using the subprocess module in Python 3 - mkhuluf/python-subprocess-tutorial ...
The most important method is fp.register() (or register_subprocess if you prefer to be more verbose), which allows defining the fake processes behavior. The fp fixture provides context() method that ...