diff --git a/tests/asyncio/test_sanity.py b/tests/asyncio/test_sanity.py index 0d1d0f9..e77e63f 100644 --- a/tests/asyncio/test_sanity.py +++ b/tests/asyncio/test_sanity.py @@ -203,6 +203,7 @@ async def test_http2_websocket() -> None: stream_id, [ (":method", "CONNECT"), + (":protocol", "websocket"), (":path", "/"), (":authority", "hypercorn"), (":scheme", "https"), diff --git a/tests/trio/test_sanity.py b/tests/trio/test_sanity.py index 98387a2..42d7b39 100644 --- a/tests/trio/test_sanity.py +++ b/tests/trio/test_sanity.py @@ -175,6 +175,7 @@ async def test_http2_websocket(nursery: trio._core._run.Nursery) -> None: stream_id, [ (":method", "CONNECT"), + (":protocol", "websocket"), (":path", "/"), (":authority", "hypercorn"), (":scheme", "https"),