swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7f3868c7d358>
@settings(suppress_health_check=function_scoped_fixture_check)
> @given(branch_name=branch_names(), branch_target=branch_targets(only_objects=True))
def test_snapshot_large(swh_storage, branch_name, branch_target): # noqa
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_snapshot.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_snapshot.py:52: in test_snapshot_large
swh_storage.snapshot_add([snapshot])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <swh.storage.in_memory.InMemoryStorage object at 0x7f3868c7d358>
snapshots = [Snapshot(branches=ImmutableDict({b'\x0000000': SnapshotBranch(target=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x...00\x00\x00', target_type=<TargetType.CONTENT: 'content'>)}), id=b'/2\xc2\x8fe\xe1s#\xfcp\x1c.\xda\xe8$X\xd8\x13[\xa8')]
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
TEST RESULT
TEST RESULT
- Run At
- Apr 29 2021, 10:23 AM