The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(agent): assert pool purity instead of echoing the ambient credential dict
liuhao1024e0c078c95800
diff --git a/tests/agent/test_auxiliary_client_cache_follows_credential.py b/tests/agent/test_auxiliary_client_cache_follows_credential.pyindex 5dca89b814e..f2c5ecd2668 100644--- a/tests/agent/test_auxiliary_client_cache_follows_credential.py+++ b/tests/agent/test_auxiliary_client_cache_follows_credential.py@@ -40,7 +40,6 @@ def isolated_home(tmp_path, monkeypatch):def test_isolated_home_hides_ambient_borrowed_credentials(isolated_home):"""The suite stays hermetic on hosts with an ambient Claude Code login (#114424)."""- assert anth_cred.read_claude_code_credentials() is None_seed("anthropic", "tok-old", model_cooldown=MODEL)pool = aux._load_pool_with_credentials("anthropic")assert [entry.source for entry in pool.entries()] == ["manual"]