Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Apr 29 2021, 10:28 AM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7f460013a438> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7f460013ac88> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f455976a518> def test_snapshot_get_random(self, swh_storage, sample_data): snapshot, empty_snapshot, complete_snapshot = sample_data.snapshots[:3] > swh_storage.snapshot_add([snapshot, empty_snapshot, complete_snapshot]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:3442: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7f460013ac88> snapshots = [Snapshot(branches=ImmutableDict({b'master': SnapshotBranch(target=b'\x01\xa7\x11O6\xfd\xdd^\xf2Q\x1b,\xad\xda#zh\xad\...tType.SNAPSHOT: 'snapshot'>), b'dangling': None}), id=b'\xdb\x99\xfd\xa2[C\xdc\\\xd9\x06%\xeeK\x07Du\x17\x99\xc9\x17')] def snapshot_add(self, snapshots: List[Snapshot]) -> Dict: > if not self._allow_overwrite: E AttributeError: 'InMemoryStorage' object has no attribute '_allow_overwrite' .tox/py3/lib/python3.7/site-packages/swh/storage/cassandra/storage.py:668: AttributeError