lister.launchpad.tests: Clarify lister configuration

This commit is contained in:
Antoine R. Dumont (@ardumont) 2020-10-29 17:57:52 +01:00
parent b90ffa4bdd
commit f09b9f8cfa
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8

View file

@ -44,4 +44,13 @@ def lister_launchpad(datadir, lister_db_url, engine, swh_scheduler):
mock_lp_response(i) for i in range(3)
]
lister.scheduler.create_task_type(
{
"type": "load-git",
"description": "Load git repository",
"backend_name": "swh.loader.git.tasks.UpdateGitRepository",
"default_interval": "1 day",
}
)
return lister