Assert required frontend steps before comparing their order

The omitted-unit-suite control raised ValueError instead of an assertion. Require each step exactly once before checking positions so the control reports the intended missing-check failure.

Contract-Neutral: Regression-test diagnostic only; the frontend workflow and all product contracts are unchanged.
Change-source: pulse-maintainer
This commit is contained in:
pulse-triage[bot]
2026-10-07 00:07:24 +01:00
parent a8271238e1
commit b17d23665f
@@ -31,6 +31,8 @@ class FrontendWorkflowOrderTest(unittest.TestCase):
"Frontend unit tests",
"Require frontend dependency audit",
]
for name in ordered:
self.step(name)
positions = [names.index(name) for name in ordered]
self.assertEqual(positions, sorted(positions))