Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Apr 22 2021, 8:33 PM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7fb60d9290f0> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fb60d929978> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb61135b208> def test_directory_add_twice(self, swh_storage, sample_data): directory = sample_data.directories[1] > actual_result = swh_storage.directory_add([directory]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:708: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb60d929978> directories = [Directory(entries=(DirectoryEntry(name=b'foo', type='file', target=b'\xd8\x1c\xc0q\x0e\xb6\xcf\x9e\xfd[\x92\n\x84S\xe...x04', perms=<DentryPerms.directory: 16384>)), id=b'RV\xe8V\xa0\xa0\x89\x89f\xd6\xba\x14\xfe\xb48\x8b\x8b\x82\xd3\x02')] def directory_add(self, directories: List[Directory]) -> Dict: to_add = {d.id: d for d in directories}.values() > 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:397: AttributeError