Skip to content

Commit fb8780d

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 2f70a2b commit fb8780d

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
@@ -39,13 +39,15 @@ build-backend = "setuptools.build_meta"
3939
dev = [
4040
"mypy>=1.19.0",
4141
"pytest",
42+
"pytest-asyncio",
4243
"coverage",
4344
"pytest-mock",
4445
"python-dotenv",
45-
"types-requests",
4646
"faker",
4747
"ruff>=0.11.11",
4848
"isort>=6.0.1",
49+
"respx>=0.22.0",
50+
"requests",
4951
]
5052

5153
[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)