Mocking A Function In Pytest Interview