swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fa9313cb400>
@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 0x7fa9313cb400>
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 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:40 PM