Hey Anthony,

Have you looked at `responses`?

Best,

Allard




On Fri, Jan 27, 2017, 07:41 anthony shaw <[email protected]> wrote:

> As part of the refactoring out the httplib package in favour of
> requests (yes, we need to start another release thread) I've been
> looking at removing the Mocks within libcloud.
>
> In short, they've become a frankenstein of private members, expected
> classes, monkey patching and shims.
>
> I'm working on another package, which we could leverage to cleanly
> mock out responses based on static files, method names using the
> adapters API within requests.
>
> https://github.com/tonybaloney/requests-staticmock#usage
>
> An extra pair of eyes over the code would be useful.
>
> Thanks,
> Ant
>

Reply via email to