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:39 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 0x7fa9c4ba4c88> db = "user=postgres password=xxx dbname=tests host=127.0.0.1 port=18836 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() missing 1 required positional argument: 'cls' .tox/py3/lib/python3.7/site-packages/swh/vault/backend.py:76: TypeError