Skip to content

Commit 1f981f9

Browse files
committed
fix assertion
1 parent 1736469 commit 1f981f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/director-v2/tests/unit/with_dbs/test_modules_comp_scheduler_dask_scheduler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ async def test_misconfigured_pipeline_is_not_scheduled(
368368
assert u_id == user["id"]
369369
assert p_id == sleepers_project.uuid
370370
assert it > 0
371-
assert params.mark_for_cancellation is False
371+
assert params.mark_for_cancellation is None
372372
# check the database was properly updated
373373
async with aiopg_engine.acquire() as conn:
374374
result = await conn.execute(
@@ -419,7 +419,7 @@ async def _assert_start_pipeline(
419419
assert u_id == published_project.project.prj_owner
420420
assert p_id == published_project.project.uuid
421421
assert it > 0
422-
assert params.mark_for_cancellation is False
422+
assert params.mark_for_cancellation is None
423423
assert params.run_metadata == run_metadata
424424

425425
# check the database is correctly updated, the run is published

0 commit comments

Comments
 (0)