### Problem This test function passes if `requests` is installed into your local env and fails if it is not. ### Proposed solution Fix this by trying to mock this import with pytest mock.