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 ...
This pytest plugin allows you to replace dependencies with stubs. It can be useful if you want to test some code using a dependency without actually having this dependency, for example if you're ...