Skip to content
Snippets Groups Projects
Verified Commit cbd2cce3 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

test_cli: Drop launchpad lister from the test_get_lister

Drop launchpad lister from the lister to check, its test setup is more involved than the
other listers. As its setup is not done in that test, it's actually connecting
anonymously to the launchpad server. So remove such lister from the test.

This should also fix the debian build which refuses such access [1]

[1] https://jenkins.softwareheritage.org/job/debian/job/packages/job/DLS/job/gbp-buildpackage/97/console
parent b11b4d10
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,10 @@ def test_get_lister(swh_scheduler_config):
"""
db_url = init_db().url()
for lister_name in SUPPORTED_LISTERS:
# Drop launchpad lister from the lister to check, its test setup is more involved
# than the other listers and it's not currently done here
supported_listers = set(SUPPORTED_LISTERS) - {"launchpad"}
for lister_name in supported_listers:
lst = get_lister(
lister_name,
db_url,
......
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