[chroes] add respx package

This commit is contained in:
SouthFox 2023-04-06 17:36:26 +08:00
parent bf8142eb0b
commit 964159a133
2 changed files with 17 additions and 1 deletions

17
poetry.lock generated
View file

@ -1089,6 +1089,21 @@ urllib3 = ">=1.21.1,<1.27"
socks = ["PySocks (>=1.5.6,!=1.5.7)"] socks = ["PySocks (>=1.5.6,!=1.5.7)"]
use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"]
[[package]]
name = "respx"
version = "0.20.1"
description = "A utility for mocking out the Python HTTPX and HTTP Core libraries."
category = "dev"
optional = false
python-versions = ">=3.7"
files = [
{file = "respx-0.20.1-py2.py3-none-any.whl", hash = "sha256:372f06991c03d1f7f480a420a2199d01f1815b6ed5a802f4e4628043a93bd03e"},
{file = "respx-0.20.1.tar.gz", hash = "sha256:cc47a86d7010806ab65abdcf3b634c56337a737bb5c4d74c19a0dfca83b3bc73"},
]
[package.dependencies]
httpx = ">=0.21.0"
[[package]] [[package]]
name = "rfc3986" name = "rfc3986"
version = "1.5.0" version = "1.5.0"
@ -1493,4 +1508,4 @@ dev = ["black (>=19.3b0)", "pytest (>=4.6.2)"]
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.10" python-versions = "^3.10"
content-hash = "374bf615cce475103698fa242ff86a9afb830207067558b0af31126699eca71e" content-hash = "1b9f7dab1b454aaadd81a4da1819a3da92d2dbb7a1890ad0d5b7433266eea5c6"

View file

@ -28,6 +28,7 @@ requests = "^2.28.2"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
pytest = "^7.2.0" pytest = "^7.2.0"
pytest-asyncio = "^0.21.0" pytest-asyncio = "^0.21.0"
respx = "^0.20.1"
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]