Skip to content

The agent that grows with you

test(skills): assert only the pooled client's timeout and redirect policy

kshitijk4poorfb9e90889ae3
diff --git a/tests/hermes_cli/test_skills_hub.py b/tests/hermes_cli/test_skills_hub.py
index 5aa6c62df4c..5667360ab3a 100644
--- a/tests/hermes_cli/test_skills_hub.py
+++ b/tests/hermes_cli/test_skills_hub.py
@@ -343,7 +343,8 @@ def test_inspect_reuses_one_ssrf_safe_client_for_metadata_and_bundle(monkeypatch
assert result is not None
assert len(clients) == 1
# The pooled client keeps the one-shot default timeout and never auto-follows redirects.
- assert client_kwargs == [{"timeout": hub._DEFAULT_HTTP_TIMEOUT, "follow_redirects": False}]
+ assert client_kwargs[0]["timeout"] == hub._DEFAULT_HTTP_TIMEOUT
+ assert client_kwargs[0]["follow_redirects"] is False