self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7fb6377b8d68>
swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fb6377b8588>
sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb6312ce940>
def test_snapshot_add_twice(self, swh_storage, sample_data):
snapshot, empty_snapshot = sample_data.snapshots[:2]
> actual_result = swh_storage.snapshot_add([empty_snapshot])
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:2984:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb6377b8588>
snapshots = [Snapshot(branches=ImmutableDict({}), id=b'\x1a\x88\x93\xe6\xa8oDN\x8b\xe8\xe7\xbd\xa6\xcb4\xfb\x175\xa0\x0e')]
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
TEST RESULT
TEST RESULT
- Run At
- Apr 22 2021, 8:33 PM