From 6924b22ede710c7b2813c45d7e13d6eb19c128fe Mon Sep 17 00:00:00 2001 From: Lumi AI Workspace Date: Tue, 7 Jul 2026 01:08:01 +0700 Subject: [PATCH] test: cover recalibration engine parser --- .../test_parser_recalibration_engine.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/integration/test_parser_recalibration_engine.py diff --git a/tests/integration/test_parser_recalibration_engine.py b/tests/integration/test_parser_recalibration_engine.py new file mode 100644 index 00000000..2884cf43 --- /dev/null +++ b/tests/integration/test_parser_recalibration_engine.py @@ -0,0 +1,25 @@ +from __future__ import annotations + +from openamp_foundry.cli.main import build_parser + + +def test_recalibration_engine_parser_defaults_are_stable(): + parser = build_parser() + args = parser.parse_args([ + "recalibration-engine", + "--intake-report", + "intake.json", + "--gate-verdict", + "gate.json", + "--current-weights", + "{}", + ]) + + assert args.command == "recalibration-engine" + assert args.intake_report == "intake.json" + assert args.gate_verdict == "gate.json" + assert args.current_weights == "{}" + assert args.l1_budget == 0.10 + assert args.out_json is None + assert args.out_md is None + assert args.dry_run is False