Skip to content

Commit 2949134

Browse files
committed
more tests
1 parent 0cfd4c2 commit 2949134

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

services/director-v2/tests/unit/test_utils_computation.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,15 @@ def fake_task(fake_task_file: Path) -> CompTaskAtDB:
275275
RunningState.STARTED,
276276
id="success, published and waiting for resources = waiting for resources",
277277
),
278+
pytest.param(
279+
[
280+
(RunningState.SUCCESS),
281+
(RunningState.WAITING_FOR_CLUSTER),
282+
(RunningState.PUBLISHED),
283+
],
284+
RunningState.STARTED,
285+
id="success, published and waiting for cluster = waiting for resources",
286+
),
278287
],
279288
)
280289
def test_get_pipeline_state_from_task_states(

0 commit comments

Comments
 (0)