Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(test): avoid conflicting Anthropic credentials (#834)

Danny Ward30319d9c4d01
diff --git a/tests/unit/agent_runtimes/test_provider_transport_regressions.py b/tests/unit/agent_runtimes/test_provider_transport_regressions.py
index 88898b3032..f79229cc0b 100644
--- a/tests/unit/agent_runtimes/test_provider_transport_regressions.py
+++ b/tests/unit/agent_runtimes/test_provider_transport_regressions.py
@@ -64,7 +64,8 @@ async def test_claude_cache_preserves_oauth_header_and_stream_usage(
monkeypatch.setenv("JARVIS_ANTHROPIC_PROMPT_CACHE", "1")
wire = AnthropicWire()
wire.intermediate_usage = intermediate_usage
- async with AsyncAnthropic(api_key="", auth_token="test-only", # noqa: S106 - local fake
+ async with AsyncAnthropic(
+ auth_token="test-only", # noqa: S106 - local fake
default_headers={"anthropic-beta": "oauth-2025-04-20"},
http_client=wire.client(),
) as client: