Python example of mocking out an external service (Github)