Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_in_memory.TestInMemoryStorage::test_release_add_name_clash
Failed

TEST RESULT

Run At
Apr 22 2021, 8:40 PM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7faa3874b198> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7faabc2e1898> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fa91a3aa898> def test_release_add_name_clash(self, swh_storage, sample_data): release, release2 = [ attr.evolve( c, author=Person( fullname=b"John Doe <john.doe@example.com>", name=b"John Doe", email=b"john.doe@example.com", ), ) for c in sample_data.releases[:2] ] > actual_result = swh_storage.release_add([release, release2]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:1334: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7faabc2e1898> 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...econds=0), offset=-120, negative_utc=False), metadata=None, id=b'i\x02\xbdL\x82\xb7\xd1\x9aB\x1d"J\xed\xab+t\x19~B\r')] 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