One thing that has saved my butt many times is to add an extra `raise NotImplementedError(url)` after the `if` statement. 
Then, upon some refactoring or something, if you mess up the URLs you really tighted up this `mocked_get` to only do one job and that is that `{"total": ...}` stuff.