Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Apr 22 2021, 8:33 PM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7fb610a8e1d0> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fb648520ef0> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb60af22a58> def test_extid_add_extid_multicity(self, swh_storage, sample_data): ids = [ revision.id for revision in sample_data.revisions if revision.type.value == "git" ] extids = [ ExtID( extid=extid, extid_type="git", target=CoreSWHID(object_id=extid, object_type=ObjectType.REVISION,), ) for extid in ids ] > swh_storage.extid_add(extids) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:1213: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb648520ef0> ids = [ExtID(extid_type='git', extid=b'\x01\xa7\x11O6\xfd\xdd^\xf2Q\x1b,\xad\xda#zh\xad\xbb\x12', target=CoreSWHID(namespace...\xa1\xc2G{\xcc ', object_type=<ObjectType.REVISION: 'rev'>), id=b"F\x04\xbf\x92\x87\x80\x01D(\xbe'}\xa7\x1a/1\xfegEd")] def extid_add(self, ids: List[ExtID]) -> Dict[str, int]: > if self._check_missing: E AttributeError: 'InMemoryStorage' object has no attribute '_check_missing' .tox/py3/lib/python3.7/site-packages/swh/storage/cassandra/storage.py:1386: AttributeError