fix(hex): Update Hex Lister task name
This commit is contained in:
parent
9095bbec00
commit
6d228a8147
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ from .lister import HexLister
|
|||
def list_hex_full(
|
||||
instance: Optional[str] = None,
|
||||
) -> Dict[str, int]:
|
||||
"""Full listing of Hex.pm"""
|
||||
"""Lister task for Hex.pm"""
|
||||
lister = HexLister.from_configfile(instance=instance)
|
||||
return lister.run().dict()
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ def test_full_listing(lister, swh_scheduler_celery_app, swh_scheduler_celery_wor
|
|||
|
||||
kwargs = dict()
|
||||
res = swh_scheduler_celery_app.send_task(
|
||||
"swh.lister.hex.tasks.FullHexRelister",
|
||||
"swh.lister.hex.tasks.HexListerTask",
|
||||
kwargs=kwargs,
|
||||
)
|
||||
assert res
|
||||
|
@ -45,7 +45,7 @@ def test_full_listing_params(
|
|||
|
||||
kwargs = dict(instance="hex.pm")
|
||||
res = swh_scheduler_celery_app.send_task(
|
||||
"swh.lister.hex.tasks.FullHexRelister",
|
||||
"swh.lister.hex.tasks.HexListerTask",
|
||||
kwargs=kwargs,
|
||||
)
|
||||
assert res
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue