Skip to content

The agent that grows with you

test(codex): use hermes_yaml now that PyYAML is not a runtime dependency

kshitijk4poor5260e4252190
diff --git a/tests/hermes_cli/test_codex_credential_host_binding.py b/tests/hermes_cli/test_codex_credential_host_binding.py
index 89b8756af96..0d5fbf2cad6 100644
--- a/tests/hermes_cli/test_codex_credential_host_binding.py
+++ b/tests/hermes_cli/test_codex_credential_host_binding.py
@@ -50,7 +50,7 @@ def _write_config(home: Path, *, base_url: str = "") -> None:
model = {"provider": "openai-codex", "default": "gpt-5.5"}
if base_url:
model["base_url"] = base_url
- import yaml
+ import hermes_yaml as yaml
(home / "config.yaml").write_text(yaml.safe_dump({"model": model})) # load cache keys on stat