Skip to content

Commit 944846e

Browse files
committed
chore: update test dependencies for httpx migration
- replace requests-mock with respx for httpx test mocking - add pytest-asyncio configuration with auto mode - remove types-requests dependency - update charset-normalizer, requests, and urllib3 versions
1 parent a0b8d70 commit 944846e

3 files changed

Lines changed: 166 additions & 98 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@ build-backend = "setuptools.build_meta"
4040
dev = [
4141
"mypy>=1.19.0",
4242
"pytest",
43+
"pytest-asyncio",
4344
"coverage",
4445
"pytest-mock",
4546
"python-dotenv",
46-
"types-requests",
4747
"faker",
4848
"ruff>=0.11.11",
4949
"isort>=6.0.1",
50+
"respx>=0.22.0",
51+
"requests",
5052
]
5153

5254
[tool.uv]

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[pytest]
22
pythonpath = src
3+
asyncio_mode = auto
34
markers =
45
open_ai

0 commit comments

Comments
 (0)