Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.lister.tests.test_cli::test_get_lister
Failed

TEST RESULT

Run At
Jan 12 2021, 2:29 PM
Details
swh_scheduler_config = {'db': "dbname=scheduler user=postgres host=127.0.0.1 port=18749 options=''"} def test_get_lister(swh_scheduler_config): """Instantiating a supported lister should be ok """ db_url = init_db().url() for lister_name in SUPPORTED_LISTERS: lst = get_lister( lister_name, db_url, scheduler={"cls": "local", **swh_scheduler_config}, > **lister_args.get(lister_name, {}), ) .tox/py3/lib/python3.7/site-packages/swh/lister/tests/test_cli.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/lister/__init__.py:54: in get_lister registry_entry = LISTERS[lister_name].load()() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def register(): > from .lister import BitBucketLister E ImportError: cannot import name 'BitBucketLister' from 'swh.lister.bitbucket.lister' (/var/lib/jenkins/workspace/DLS/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/lister/bitbucket/lister.py) .tox/py3/lib/python3.7/site-packages/swh/lister/bitbucket/__init__.py:7: ImportError