Skip to content

The agent that grows with you

test(config): add _SECRET suffix case to env-routing parametrization

Baophan0095cff5458660
diff --git a/tests/hermes_cli/test_set_config_value.py b/tests/hermes_cli/test_set_config_value.py
index a70e8ebe749..aa1702a5940 100644
--- a/tests/hermes_cli/test_set_config_value.py
+++ b/tests/hermes_cli/test_set_config_value.py
@@ -67,7 +67,7 @@ class TestExplicitAllowlist:
# ---------------------------------------------------------------------------
class TestCatchAllPatterns:
- """Any key ending in _API_KEY or _TOKEN should route to .env."""
+ """Any key ending in _API_KEY, _TOKEN, or _SECRET should route to .env."""
@pytest.mark.parametrize("key", [
"DAYTONA_API_KEY",
@@ -75,6 +75,7 @@ class TestCatchAllPatterns:
"SOME_FUTURE_SERVICE_API_KEY",
"MY_CUSTOM_TOKEN",
"WHATSAPP_BOT_TOKEN",
+ "CLIENT_SECRET",
])
def test_api_key_suffix_routes_to_env(self, key, _isolated_hermes_home):
set_config_value(key, "secret-456")