https://quadexcel.com/wp/how-to-mock-patch-a-function-testing-python-with-pytest/
How To Mock Patch A Function (Testing Python With Pytest)