From ee059b02b66efee7f102dc3db5af87b4873d95b1 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Wed, 28 May 2025 18:38:16 -0400 Subject: [PATCH] Update test_openapi.py --- tests/client/test_openapi.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/client/test_openapi.py b/tests/client/test_openapi.py index e9b704ece..0a05bb00d 100644 --- a/tests/client/test_openapi.py +++ b/tests/client/test_openapi.py @@ -170,15 +170,6 @@ class TestClientHeaders: headers = json.loads(result[0].text) assert headers["x-test"] == "test-123" - # async def test_certain_client_headers_are_stripped(self, shttp_server: str): - # async with Client( - # transport=StreamableHttpTransport(shttp_server, headers={"host": "1.2.3.4"}) - # ) as client: - # result = await client.read_resource("resource://get_headers_headers_get") - # assert isinstance(result[0], TextResourceContents) - # headers = json.loads(result[0].text) - # assert "host" not in headers - async def test_client_overrides_server_headers(self, shttp_server: str): async with Client( transport=StreamableHttpTransport(