Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> python >> python3-requests-mock
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: python-requests-mock  ]

套件: python3-requests-mock (1.6.0-2build1)

mock out responses from the requests package - Python 3.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 3.x module.

其他與 python3-requests-mock 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-requests
    elegant and simple HTTP library for Python3, built for human beings
  • dep: python3-six
    Python 2 and 3 compatibility library (Python 3 interface)

下載 python3-requests-mock

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 14.5 kB69 kB [文件列表]