[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#754537: ITP: python-requests-mock -- mock out responses from the requests package

Package: wnpp
Severity: wishlist
Owner: Thomas Goirand <zigo@debian.org>

* Package name    : python-requests-mock
  Version         : 0.4.0
  Upstream Author : Jamie Lennox <jamielennox@gmail.com>
* URL             : https://github.com/jamielennox/requests-mock
* License         : Apache-2.0
  Programming Lang: Python
  Description     : mock out responses from the requests package

 requests-mock provides a building block to stub out the HTTP requests_
 portions of your testing code. Everything in requests_ eventually goes through
 an adapter to do the transport work. requests-mock creates a custom adatper
 that allows you to predefine responses when certain URIs are called. There are
 then a number of methods provided to get the adapter used.

Reply to: