The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(skills): the pooled hub client is created with the default timeout
kshitijk4poor8d3ba91449f8
diff --git a/tests/hermes_cli/test_skills_hub.py b/tests/hermes_cli/test_skills_hub.pyindex 442506360ba..5aa6c62df4c 100644--- a/tests/hermes_cli/test_skills_hub.py+++ b/tests/hermes_cli/test_skills_hub.py@@ -293,6 +293,7 @@ def test_inspect_reuses_one_ssrf_safe_client_for_metadata_and_bundle(monkeypatchfrom tools.skills_hub_models import SkillBundle, SkillMetaclients = []+ client_kwargs = []class Response:status_code = 200@@ -324,7 +325,8 @@ def test_inspect_reuses_one_ssrf_safe_client_for_metadata_and_bundle(monkeypatchhub._guarded_http_get("https://example.com/SKILL.md")return SkillBundle("example", {"SKILL.md": "# Example"}, "test", "example/id", "community")- def create_client(**_kwargs):+ def create_client(**kwargs):+ client_kwargs.append(kwargs)client = Client()clients.append(client)return client@@ -340,6 +342,8 @@ def test_inspect_reuses_one_ssrf_safe_client_for_metadata_and_bundle(monkeypatchassert result is not Noneassert 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}]