self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7fb63666bc18>
swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fb6294f1e48>
sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb71409fb70>
def test_release_get_random(self, swh_storage, sample_data):
release, release2, release3 = sample_data.releases[:3]
> swh_storage.release_add([release, release2, release3])
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:1369:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb6294f1e48>
releases = [Release(name=b'v0.0.1', message=b'synthetic release', target=b'\x01\xa7\x11O6\xfd\xdd^\xf2Q\x1b,\xad\xda#zh\xad\xbb\x...seconds=0), offset=-120, negative_utc=False), metadata=None, id=b">\x90P\x19j\xa2\x88&O*\x9d'\x9dj\xba\xb8\xb1XD\x8b")]
def release_add(self, releases: List[Release]) -> 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:635: AttributeError
TEST RESULT
TEST RESULT
- Run At
- Apr 22 2021, 8:33 PM