Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_in_memory.TestStorage::test_content_metadata_get_paginate_same_date
Failed

TEST RESULT

Run At
Jun 22 2020, 4:31 PM
Details
self = <swh.storage.tests.test_storage.TestStorage object at 0x7f8c20a3d940> swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f8c01ca6d30> def test_content_metadata_get_paginate_same_date(self, swh_storage): content = data.cont fetcher1 = data.metadata_fetcher fetcher2 = data.metadata_fetcher2 authority = data.metadata_authority content_swhid = f"swh:1:cnt:{content['sha1_git']}" swh_storage.metadata_fetcher_add(**fetcher1) swh_storage.metadata_fetcher_add(**fetcher2) swh_storage.metadata_authority_add(**authority) content_metadata2 = { **data.content_metadata2, "discovery_date": data.content_metadata2["discovery_date"], "fetcher": {"name": fetcher2["name"], "version": fetcher2["version"],}, } > swh_storage.content_metadata_add(**data.content_metadata) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:3342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.validate.ValidatingProxyStorage object at 0x7f8c01ca6d30> key = 'content_metadata_add' def __getattr__(self, key): if key == "storage": raise AttributeError(key) > return getattr(self.storage, key) E AttributeError: 'InMemoryStorage' object has no attribute 'content_metadata_add' .tox/py3/lib/python3.7/site-packages/swh/storage/validate.py:78: AttributeError