Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.package.deposit.tests.test_deposit::test_deposit_loading_ok
Failed

TEST RESULT

Run At
Apr 29 2020, 4:09 PM
Details
swh_config = '/tmp/pytest-of-jenkins/pytest-0/test_deposit_loading_ok0/loader.yml' requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7f6a35b16278> def test_deposit_loading_ok(swh_config, requests_mock_datadir): url = "https://hal-test.archives-ouvertes.fr/some-external-id" deposit_id = 666 loader = DepositLoader(url, deposit_id) > actual_load_status = loader.load() .tox/py3/lib/python3.7/site-packages/swh/loader/package/deposit/tests/test_deposit.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/loader/package/deposit/loader.py:136: in load self.storage.metadata_authority_add(**authority) .tox/py3/lib/python3.7/site-packages/swh/storage/retry.py:92: in __getattr__ return getattr(self.storage, key) .tox/py3/lib/python3.7/site-packages/swh/storage/filter.py:43: in __getattr__ return getattr(self.storage, key) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.buffer.BufferingProxyStorage object at 0x7f6a370a8240> key = 'metadata_authority_add' def __getattr__(self, key): if key.endswith("_add"): object_type = key.rsplit("_", 1)[0] if object_type in self.object_types: return partial(self.object_add, object_type=object_type, keys=["id"],) if key == "storage": raise AttributeError(key) > return getattr(self.storage, key) E AttributeError: 'Storage' object has no attribute 'metadata_authority_add' .tox/py3/lib/python3.7/site-packages/swh/storage/buffer.py:68: AttributeError