From d3cde3b3b520e10fd8fa4ae605c8c3e471f8ae13 Mon Sep 17 00:00:00 2001 From: Konstantin Khlopkov Date: Tue, 8 Sep 2026 15:46:42 +0000 Subject: [PATCH] test(anthropic): keep formatter-stable line length in wire-level assert --- tests/agent/test_anthropic_adapter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/agent/test_anthropic_adapter.py b/tests/agent/test_anthropic_adapter.py index 635584869d..ceb183e3eb 100644 --- a/tests/agent/test_anthropic_adapter.py +++ b/tests/agent/test_anthropic_adapter.py @@ -1927,7 +1927,9 @@ class TestApiKeyConstructionClearsEnvBearerToken: # auth_token attribute, but the request headers (what reaches the wire) never # contain Authorization — on the original client and on any with_options() copy. for wire_client in (client, client.with_options(timeout=30)): - headers = dict(wire_client._build_headers(_final_request_options(anthropic_sdk))) + headers = dict( + wire_client._build_headers(_final_request_options(anthropic_sdk)) + ) assert headers.get("x-api-key") == "provider-key" assert "authorization" not in headers