Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.vault.tests.test_init::test_init_get_vault_ok
Failed

TEST RESULT

Run At
Oct 16 2020, 7:35 PM
Details
swh_vault_config = {'cache': {'args': {'allow_delete': True, 'root': '/tmp/pytest-of-jenkins/pytest-0/test_init_get_vault_ok0', 'slicing'...gs': {'root': '/tmp/pytest-of-jenkins/pytest-0/test_init_get_vault_ok0', 'slicing': '0:1/1:5'}, 'cls': 'pathslicing'}}} def test_init_get_vault_ok(swh_vault_config): > concrete_vault = get_vault("local", **swh_vault_config) .tox/py3/lib/python3.7/site-packages/swh/vault/tests/test_init.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/vault/__init__.py:54: in get_vault return Vault(**kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.vault.backend.VaultBackend object at 0x7f03b0c12e48> db = "user=postgres password=xxx dbname=tests host=127.0.0.1 port=23627 options=''" config = {'cache': {'args': {'allow_delete': True, 'root': '/tmp/pytest-of-jenkins/pytest-0/test_init_get_vault_ok0', 'slicing'...gs': {'root': '/tmp/pytest-of-jenkins/pytest-0/test_init_get_vault_ok0', 'slicing': '0:1/1:5'}, 'cls': 'pathslicing'}}} def __init__(self, db, **config): self.config = config self.cache = VaultCache(**config["cache"]) > self.scheduler = get_scheduler(**config["scheduler"]) E TypeError: get_scheduler() got an unexpected keyword argument 'url' .tox/py3/lib/python3.7/site-packages/swh/vault/backend.py:76: TypeError