File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
services/director-v2/tests/unit Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -296,9 +296,9 @@ def test_get_pipeline_state_from_task_states(
296296 ]
297297
298298 pipeline_state : RunningState = get_pipeline_state_from_task_states (tasks )
299- assert (
300- pipeline_state == exp_pipeline_state
301- ), f"task states are: { task_states } , got { pipeline_state } instead of { exp_pipeline_state } "
299+ assert pipeline_state == exp_pipeline_state , (
300+ f"task states are: { task_states } , got { pipeline_state } instead of { exp_pipeline_state } "
301+ )
302302
303303
304304@pytest .mark .parametrize (
@@ -315,7 +315,7 @@ def test_get_pipeline_state_from_task_states(
315315 ],
316316)
317317def test_is_pipeline_running (state , exp : bool ):
318- assert (
319- is_pipeline_running ( state ) is exp
320- ), f"pipeline in { state } , i.e. running state should be { exp } "
318+ assert is_pipeline_running ( state ) is exp , (
319+ f"pipeline in { state } , i.e. running state should be { exp } "
320+ )
321321 assert is_pipeline_stopped is not exp
You can’t perform that action at this time.
0 commit comments