self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7fb634daf748>
swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fb634dafef0>
sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb603333d30>
def test_revision_get_random(self, swh_storage, sample_data):
revision1, revision2, revision3 = sample_data.revisions[:3]
> swh_storage.revision_add([revision1, revision2, revision3])
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:1078:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb634dafef0>
revisions = [Revision(message=b'hello', author=Person(fullname=b'Nicolas Dandrimont <nicolas@example.com> ', name=b'Nicolas Dandri...g\x1f\xb7\xf746A\xaf\xf9\x83\xa3\x14\xefaa'), id=b',\xbd{\xb2,e;\xbb#\xa2\x96W\x85*P\xa0\x1bY\x1dF', extra_headers=())]
def revision_add(self, revisions: List[Revision]) -> Dict:
# Filter-out revisions already in the database
> 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:523: AttributeError
TEST RESULT
TEST RESULT
- Run At
- Apr 22 2021, 8:33 PM