Skip to content
Snippets Groups Projects
Commit 3a551fa9 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

tasks: Simplify implementation and add tests for listed origins

Recent changes in swh-scheduler add new parameters to the celery tasks
produced from swh.scheduler.model.ListedOrigin instances.

So ensure to handle any new parameters by not hardcoding the expected
ones in task signatures.

Remove unsafe use of unnamed task parameters.

Add new tests checking task parameters produced from ListedOrigin
instances do no raise error when attempting to create a hg loader.

Related to T4187
parent 18025f1c
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment