-
I decided to finally learn how to use the excellent Mocking library in Python. The code is slightly edited from http://engineroom.trackmaven.com/blog/real-life-mocking/ And I plan to update this in the future.
-
Mocking an API call is a really important tool for any Data Scientists, because often we have to depend on API calls in our code. It is outside of our scope of our code when the API endpoint is down.
-
http://cramer.io/2014/05/20/mocking-requests-with-responses/ Looks worth a look too.
-
TODO: Add example from Response
springcoil/mocking_tutorial
Based on a tutorial from TrackMaven, this is an exploration of mocking API calls
PythonBSD-2-Clause