Skip to content
Snippets Groups Projects
Commit 777d8353 authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Worker: fixed unittest

parent eb8c12b1
Branches
Tags
No related merge requests found
......@@ -139,10 +139,12 @@ class TestWorkerTaskFetch(AbstractWorkerTest):
]
})
async def async_none(): return None
self.tuqueue.queue.side_effect = [
# Responses after status updates
None, # task becoming active
None, # task becoming complete
async_none(), # task becoming active
async_none(), # task becoming complete
]
self.worker.schedule_fetch_task()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment