Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Apr 29 2021, 10:28 AM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7f45345ef518> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7f4552267438> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f4521ffa668> def test_release_add_twice(self, swh_storage, sample_data): release, release2 = sample_data.releases[:2] > actual_result = swh_storage.release_add([release]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:1307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7f4552267438> 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...s=0), offset=42, negative_utc=False), metadata=None, id=b'\xf7\xf2"\t:\x18\xec`\xd7\x81\x07\n\xbe\xc4\xa60\xc8P\xb87')] def release_add(self, releases: List[Release]) -> Dict: > if not self._allow_overwrite: E AttributeError: 'InMemoryStorage' object has no attribute '_allow_overwrite' .tox/py3/lib/python3.7/site-packages/swh/storage/cassandra/storage.py:638: AttributeError