Skip to content

The agent that grows with you

test(config): pin typo-direction suggestion for extra known roots

teknium154337e9aecac
diff --git a/tests/hermes_cli/test_set_config_value.py b/tests/hermes_cli/test_set_config_value.py
index ce5c351bc0d..91b79cecebf 100644
--- a/tests/hermes_cli/test_set_config_value.py
+++ b/tests/hermes_cli/test_set_config_value.py
@@ -624,6 +624,8 @@ class TestValidateConfigKey:
("gateway.discord.gateway_restart_notification", "discord.gateway_restart_notification"),
("disco", "discord"),
("agent.max_turn", "agent.max_turns"),
+ # A typo of an _EXTRA_KNOWN_ROOT_KEYS root points at the real root, not a near-miss.
+ ("platform_toolset.cli", "platform_toolsets.cli"),
])
def test_unknown_keys_with_suggestion(self, key, expected_in_suggestion):
from hermes_cli.config import _validate_config_key