Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Apr 29 2021, 10:23 AM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7f39a4068860> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7f384e9f76d8> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f384e9f7828> def test_directory_ls_missing_content(self, swh_storage, sample_data): > swh_storage.directory_add([sample_data.directory2]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7f384e9f76d8> directories = [Directory(entries=(DirectoryEntry(name=b'oof', type='file', target=b'6\xfa\xdew\x19<\xb6\xd2\xbd\x82aa\xa0\x97\x9dd\x...xb4\xfa', perms=<DentryPerms.content: 33188>),), id=b'\x85\x05\x80\x852\x95=\xa7\xd2X\x17A\xf0\x1b)\xc0K\x1c\xb9\xab')] def directory_add(self, directories: List[Directory]) -> Dict: to_add = {d.id: d for d in directories}.values() > 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:400: AttributeError