Skip to content

Commit 2ea68f2

Browse files
committed
test
1 parent 2c63020 commit 2ea68f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/shared/test_sse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ async def http_client(server, server_url) -> AsyncGenerator[httpx.AsyncClient, N
161161
@pytest.mark.anyio
162162
async def test_raw_sse_connection(http_client: httpx.AsyncClient) -> None:
163163
"""Test the SSE connection establishment simply with an HTTP client."""
164-
async with http_client.stream("GET", "/sse", timeout=5) as response:
164+
async with http_client.stream("GET", "/sse", timeout=5, follow_redirects=True) as response:
165165
assert response.status_code == 200
166166
assert (
167167
response.headers["content-type"]

0 commit comments

Comments
 (0)