The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(anthropic): keep formatter-stable line length in wire-level assert
Konstantin Khlopkovd3cde3b3b520
diff --git a/tests/agent/test_anthropic_adapter.py b/tests/agent/test_anthropic_adapter.pyindex 635584869da..ceb183e3ebe 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