Add split promotion preflight
This commit is contained in:
@@ -23,6 +23,18 @@ def test_split_background_promotion_workflow_runs_split_then_split_aware_report(
|
||||
assert "promote model default" not in source.lower()
|
||||
|
||||
|
||||
def test_split_background_promotion_workflow_has_safe_preflight_mode() -> None:
|
||||
source = (ROOT / "scripts" / "run_split_background_promotion_workflow.sh").read_text(encoding="utf-8")
|
||||
|
||||
assert "--preflight-only" in source
|
||||
assert "PREFLIGHT_ONLY" in source
|
||||
assert "curl -fsS" in source
|
||||
assert "OPERATOR_SAMPLE_MANIFEST_PATH is required" in source
|
||||
assert "pure_empty_negative" in source
|
||||
assert "sparse_building_context" in source
|
||||
assert "Split-background promotion preflight passed" in source
|
||||
|
||||
|
||||
def test_readiness_checks_split_background_promotion_workflow_syntax() -> None:
|
||||
readiness = (ROOT / "scripts" / "run_readiness_check.sh").read_text(encoding="utf-8")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user