Skip to content
Snippets Groups Projects
Commit 6d228a81 authored by Kumar Shivendu's avatar Kumar Shivendu Committed by Kumar Shivendu
Browse files

fix(hex): Update Hex Lister task name

parent 9095bbec
No related branches found
Tags v6.3.1
No related merge requests found
......@@ -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
......
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