Skip to content

Commit cbc2763

Browse files
committed
test(config): expect dangerous command guard flag in config keys
- Add disable_dangerous_command_guard to the expected config key list so the test reflects the current configuration surface. - Keep the key enumeration in sync with the runtime config to prevent false negatives when validating available settings. - Preserve coverage of the config contract as new options are introduced.
1 parent 7cdb644 commit cbc2763

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ def test_get_config_keys_with_existing_keys(
311311
"compaction_threshold",
312312
"default_agent",
313313
"diff_context_lines",
314+
"disable_dangerous_command_guard",
314315
"enable_pack_agents",
315316
"enable_streaming",
316317
"enable_universal_constructor",
@@ -376,6 +377,7 @@ def test_get_config_keys_empty_config(
376377
"compaction_threshold",
377378
"default_agent",
378379
"diff_context_lines",
380+
"disable_dangerous_command_guard",
379381
"enable_pack_agents",
380382
"enable_streaming",
381383
"enable_universal_constructor",

0 commit comments

Comments
 (0)