The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: utf-8 encodings in messaging profile tests
teknium1476d7223b594
diff --git a/tests/hermes_cli/test_web_server_messaging_profiles.py b/tests/hermes_cli/test_web_server_messaging_profiles.pyindex 513dca4c41b..54e2416f8df 100644--- a/tests/hermes_cli/test_web_server_messaging_profiles.py+++ b/tests/hermes_cli/test_web_server_messaging_profiles.py@@ -164,11 +164,11 @@ class TestProfileScopedMessagingWrites:# Enablement lands in the target profile's config.yaml.worker_cfg = yaml.safe_load(- (isolated_profiles["worker_alpha"] / "config.yaml").read_text()+ (isolated_profiles["worker_alpha"] / "config.yaml").read_text(encoding="utf-8")) or {}assert worker_cfg.get("platforms", {}).get("telegram", {}).get("enabled") is Trueroot_cfg = yaml.safe_load(- (isolated_profiles["default"] / "config.yaml").read_text()+ (isolated_profiles["default"] / "config.yaml").read_text(encoding="utf-8")) or {}assert "telegram" not in (root_cfg.get("platforms") or {})@@ -253,7 +253,7 @@ class TestMultiplexPortBindingGuard:json={"enabled": False},)assert resp.status_code == 200- cfg = yaml.safe_load((worker_home / "config.yaml").read_text())+ cfg = yaml.safe_load((worker_home / "config.yaml").read_text(encoding="utf-8"))assert cfg["platforms"]["api_server"]["enabled"] is Falsecatalog = client.get(