From cc1dcf0624b7be4bc2488a745b04dacd9a5a93f8 Mon Sep 17 00:00:00 2001 From: Lumi AI Workspace Date: Tue, 7 Jul 2026 01:03:04 +0700 Subject: [PATCH] test: cover gate command parser --- tests/integration/test_parser_gate_command.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/integration/test_parser_gate_command.py diff --git a/tests/integration/test_parser_gate_command.py b/tests/integration/test_parser_gate_command.py new file mode 100644 index 00000000..d59e36fe --- /dev/null +++ b/tests/integration/test_parser_gate_command.py @@ -0,0 +1,12 @@ +from __future__ import annotations + +from openamp_foundry.cli.main import build_parser + + +def test_gate_command_parser_defaults_are_stable(): + parser = build_parser() + args = parser.parse_args(["gate-check"]) + + assert args.command == "gate-check" + assert args.gate == 0 + assert args.validation_json == "outputs/validate_scoring_report.json"