Skip to content

Commit 4f63efe

Browse files
committed
Fix linting issues
1 parent fde04eb commit 4f63efe

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

tests/shared/test_sse.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,12 +416,16 @@ async def test_sse_client_timeout(
416416

417417

418418
@pytest.mark.anyio
419-
async def test_raw_sse_connection_with_relative_endpoint(http_client_with_relative_endpoint: httpx.AsyncClient) -> None:
419+
async def test_raw_sse_connection_with_relative_endpoint(
420+
http_client_with_relative_endpoint: httpx.AsyncClient,
421+
) -> None:
420422
"""Test the SSE connection establishment with a relative endpoint URL."""
421423
async with anyio.create_task_group():
422424

423425
async def connection_test() -> None:
424-
async with http_client_with_relative_endpoint.stream("GET", "/sse") as response:
426+
async with http_client_with_relative_endpoint.stream(
427+
"GET", "/sse"
428+
) as response:
425429
assert response.status_code == 200
426430
assert (
427431
response.headers["content-type"]
@@ -448,12 +452,16 @@ async def connection_test() -> None:
448452

449453

450454
@pytest.mark.anyio
451-
async def test_raw_sse_connection_with_absolute_endpoint(http_client_with_absolute_endpoint: httpx.AsyncClient) -> None:
455+
async def test_raw_sse_connection_with_absolute_endpoint(
456+
http_client_with_absolute_endpoint: httpx.AsyncClient,
457+
) -> None:
452458
"""Test the SSE connection establishment with an absolute endpoint URL."""
453459
async with anyio.create_task_group():
454460

455461
async def connection_test() -> None:
456-
async with http_client_with_absolute_endpoint.stream("GET", "/sse") as response:
462+
async with http_client_with_absolute_endpoint.stream(
463+
"GET", "/sse"
464+
) as response:
457465
assert response.status_code == 200
458466
assert (
459467
response.headers["content-type"]

0 commit comments

Comments
 (0)