Skip to content

Commit 726f4ce

Browse files
fix test
1 parent c1ec12b commit 726f4ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/storage/tests/unit/test_modules_celery.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,6 @@ async def test_listing_task_uuids_contains_submitted_task(
216216
assert len(tasks) == 1
217217
assert task_uuid == tasks[0].uuid
218218

219-
assert task_uuid in await celery_client.list_tasks(task_context)
219+
tasks = await celery_client.list_tasks(task_context)
220+
assert len(tasks) == 1
221+
assert task_uuid == tasks[0].uuid

0 commit comments

Comments
 (0)