Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Apr 22 2021, 8:33 PM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7fb6ec3175f8> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fb6312d5438> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb6ec31c048> def test_snapshot_add_many(self, swh_storage, sample_data): snapshot, _, complete_snapshot = sample_data.snapshots[:3] > actual_result = swh_storage.snapshot_add([snapshot, complete_snapshot]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:2946: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb6312d5438> snapshots = [Snapshot(branches=ImmutableDict({b'master': SnapshotBranch(target=b'\x01\xa7\x11O6\xfd\xdd^\xf2Q\x1b,\xad\xda#zh\xad\...etType.SNAPSHOT: 'snapshot'>), b'dangling': None}), id=b'\xa5l\xe2\xd8\x1c\x19\x00#\xbb\x99\xa3\xa3by0u"\xcb\x85\xf6')] def snapshot_add(self, snapshots: List[Snapshot]) -> Dict: > 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:665: AttributeError