self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7fb60f22f588>
swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fb60f22fb00>
sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb60f22f748>
def test_revision_log_with_limit(self, swh_storage, sample_data):
revision1, revision2, revision3, revision4 = sample_data.revisions[:4]
# revision4 -is-child-of-> revision3
> swh_storage.revision_add([revision3, revision4])
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:1016:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb60f22fb00>
revisions = [Revision(message=b'a simple revision with no parents this time', author=Person(fullname=b'Roberto Dicosmo <roberto@ex...\xa2\x96W\x85*P\xa0\x1bY\x1dF',), id=b'\x88\xcdQ&\xfc\x95\x8e\xd7\x00\x89\xd54\x04A\xa1\xc2G{\xcc ', 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