test(config): reject leftover auto_migrate key

Pin that hermes config set no longer treats gateway.auto_migrate as a known key after DEFAULT_CONFIG uses auto_multiplex_migration.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
KoNit-K
2026-09-14 17:01:52 +08:00
committed by Teknium
parent c8a6b3ca94
commit 3bb44dc7b6
+3
View File
@@ -1938,3 +1938,6 @@ def test_gateway_multiplex_keys_are_recognized_config_keys():
assert _validate_config_key("gateway.multiplex_profiles") == (True, None)
assert _validate_config_key("gateway.profile_routes") == (True, None)
assert _validate_config_key("gateway.auto_multiplex_migration") == (True, None)
known, suggestion = _validate_config_key("gateway.auto_migrate")
assert known is False
assert suggestion == "gateway.auto_multiplex_migration"