Add respx library for mocking HTTP requests
This commit is contained in:
parent
39434eadc4
commit
f2cbc0c2f1
2 changed files with 16 additions and 1 deletions
16
poetry.lock
generated
16
poetry.lock
generated
|
|
@ -7229,6 +7229,20 @@ requests = ">=2.0.0"
|
|||
[package.extras]
|
||||
rsa = ["oauthlib[signedtoken] (>=3.0.0)"]
|
||||
|
||||
[[package]]
|
||||
name = "respx"
|
||||
version = "0.20.2"
|
||||
description = "A utility for mocking out the Python HTTPX and HTTP Core libraries."
|
||||
optional = false
|
||||
python-versions = ">=3.7"
|
||||
files = [
|
||||
{file = "respx-0.20.2-py2.py3-none-any.whl", hash = "sha256:ab8e1cf6da28a5b2dd883ea617f8130f77f676736e6e9e4a25817ad116a172c9"},
|
||||
{file = "respx-0.20.2.tar.gz", hash = "sha256:07cf4108b1c88b82010f67d3c831dae33a375c7b436e54d87737c7f9f99be643"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
httpx = ">=0.21.0"
|
||||
|
||||
[[package]]
|
||||
name = "rich"
|
||||
version = "13.7.1"
|
||||
|
|
@ -9388,4 +9402,4 @@ local = ["ctransformers", "llama-cpp-python", "sentence-transformers"]
|
|||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = ">=3.9,<3.12"
|
||||
content-hash = "524743a03769e472c83325641463bddb09f51dfc6ad50f8454c204bba8f484b5"
|
||||
content-hash = "b6fa968078eea5c0cc1cde7f47dee0cba3c0c7e5d9275cf78342113251531906"
|
||||
|
|
|
|||
|
|
@ -130,6 +130,7 @@ types-pywin32 = "^306.0.0.4"
|
|||
types-google-cloud-ndb = "^2.2.0.0"
|
||||
pytest-sugar = "^1.0.0"
|
||||
pytest-instafail = "^0.5.0"
|
||||
respx = "^0.20.2"
|
||||
|
||||
|
||||
[tool.poetry.extras]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue