The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: write the fake CA bundles to the absolute path the test already built
kshitijk4poor1c953851385d
diff --git a/tests/hermes_cli/test_urllib_security.py b/tests/hermes_cli/test_urllib_security.pyindex c7bb2f5c98b..bc84c86286a 100644--- a/tests/hermes_cli/test_urllib_security.py+++ b/tests/hermes_cli/test_urllib_security.py@@ -5,6 +5,7 @@ from __future__ import annotationsimport jsonimport loggingfrom http.server import BaseHTTPRequestHandler, ThreadingHTTPServer+from pathlib import Pathimport sslfrom threading import Threadimport urllib.error@@ -650,7 +651,7 @@ def test_a_failed_preferred_bundle_load_is_not_memoised(_clear_ca_bundle_env(monkeypatch)paths = tuple(str(tmp_path / name) for name in candidates)for path in paths:- (tmp_path / path).write_text("pem")+ Path(path).write_text("pem")failing_path = str(tmp_path / first_load_fails_for)expected = [str(tmp_path / name) for name in expected_load_sequence]monkeypatch.setattr(urllib_security, "_ca_bundle_candidates", lambda: paths)