Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Apr 29 2021, 10:23 AM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7f3870a83668> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7f3870a83320> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f386a5c4390> def test_snapshot_add_count_branches_with_filtering(self, swh_storage, sample_data): complete_snapshot = sample_data.snapshots[2] > actual_result = swh_storage.snapshot_add([complete_snapshot]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:3021: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7f3870a83320> snapshots = [Snapshot(branches=ImmutableDict({b'directory': SnapshotBranch(target=b'RV\xe8V\xa0\xa0\x89\x89f\xd6\xba\x14\xfe\xb48\...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