python unit test mock http request