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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user