Skip to content
Sections
>> Trisquel >> Пакети >> etiona >> python >> python-requests-mock
etiona  ]
[ Източник: python-requests-mock  ]

Пакет: python-requests-mock (1.3.0-3)

mock out responses from the requests package - Python 2.x

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 adapter that allows you to predefine responses when certain URIs are called. There are then a number of methods provided to get the adapter used.

This package contains the Python 2.x module.

Други пакети, свързани с python-requests-mock

  • зависимости
  • препоръчани
  • предложени
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: python-requests
    elegant and simple HTTP library for Python2, built for human beings
  • dep: python-six
    Python 2 and 3 compatibility library (Python 2 interface)

Изтегляне на python-requests-mock

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 20,0 кБ128 кБ [списък на файловете]