mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-27 05:57:27 +00:00
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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user