self = <swh.storage.tests.test_api_client.TestStorage object at 0x7f8dc886ca58>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f8dc886ccf8>
def test_content_metadata_get_after(self, swh_storage):
content = data.cont
fetcher = data.metadata_fetcher
authority = data.metadata_authority
content_swhid = f"swh:1:cnt:{content['sha1_git']}"
swh_storage.metadata_fetcher_add(**fetcher)
swh_storage.metadata_authority_add(**authority)
> swh_storage.content_metadata_add(**data.content_metadata)
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:3276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <swh.storage.validate.ValidatingProxyStorage object at 0x7f8dc886ccf8>
key = 'content_metadata_add'
def __getattr__(self, key):
if key == "storage":
raise AttributeError(key)
> return getattr(self.storage, key)
E AttributeError: 'RemoteStorage' object has no attribute 'content_metadata_add'
.tox/py3/lib/python3.7/site-packages/swh/storage/validate.py:78: AttributeError
TEST RESULT
TEST RESULT
- Run At
- Jun 22 2020, 4:31 PM