The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(delegation): the hosted-backend test loads the bundled default strategy
Teknium53cc2b787cd2
diff --git a/tests/hermes_cli/test_plugin_host_delegation.py b/tests/hermes_cli/test_plugin_host_delegation.pyindex 54b49a3064c..d2583581ed0 100644--- a/tests/hermes_cli/test_plugin_host_delegation.py+++ b/tests/hermes_cli/test_plugin_host_delegation.py@@ -3,6 +3,7 @@import jsonimport osimport sys+from pathlib import Pathimport hermes_yaml as yamlimport pytest@@ -51,8 +52,11 @@ def test_hosted_delegation_provider_extends_schema_and_routes_from_the_host(tmp_(plugin_dir / "__init__.py").write_text(HOSTED_PROVIDER, encoding="utf-8")(home / "config.yaml").write_text(yaml.safe_dump({"plugins": {"enabled": ["hosted-map"], "isolation": "host"}}), encoding="utf-8")+ # Bundled plugins: only the delegation category, so the bundled default strategy is listed and selectable.empty_bundled = tmp_path / "bundled"empty_bundled.mkdir()+ (empty_bundled / "delegation").symlink_to(Path(__file__).resolve().parents[2] / "plugins" / "delegation",+ target_is_directory=True)monkeypatch.setenv("HOME", str(tmp_path / "os-home"))monkeypatch.setenv("HERMES_HOME", str(home))monkeypatch.setattr(plugins_mod, "get_bundled_plugins_dir", lambda: empty_bundled)