Skip to content

Commit 341e02e

Browse files
authored
Fix tests with pytest-httpx 0.32.0 (#45)
1 parent 67a5112 commit 341e02e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_responses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ async def test_plugins_list(httpx_mock: HTTPXMock) -> None:
404404

405405

406406
@pytest.mark.asyncio
407+
@pytest.mark.httpx_mock(can_send_already_matched_responses=True)
407408
async def test_exisiting_endpoint(httpx_mock: HTTPXMock) -> None:
408409
"""Test the a valid endpoint."""
409410
httpx_mock.add_response(json=RESPONSE)

0 commit comments

Comments
 (0)