test_cli: Exclude launchpad lister from the check
This should fix the build [1] [1] https://jenkins.softwareheritage.org/view/Debian%20packages/job/debian/job/packages/job/DLS/job/gbp-buildpackage/77/console
This commit is contained in:
parent
250160ad75
commit
e99d3464e4
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@ def test_get_lister(mock_get_scheduler):
|
|||
|
||||
"""
|
||||
db_url = init_db().url()
|
||||
for lister_name in SUPPORTED_LISTERS:
|
||||
# launchpad lister need particular setup so exclude from the checks
|
||||
listers_to_check = set(SUPPORTED_LISTERS) | {"launchpad"}
|
||||
for lister_name in listers_to_check:
|
||||
lst = get_lister(lister_name, db_url)
|
||||
assert isinstance(lst, ListerBase)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue