Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Apr 22 2021, 8:33 PM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7fb616fd7748> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fb616fd73c8> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb60e185080> def test_directory_get_random(self, swh_storage, sample_data): dir1, dir2, dir3 = sample_data.directories[:3] > swh_storage.directory_add([dir1, dir2, dir3]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:914: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb616fd73c8> directories = [Directory(entries=(DirectoryEntry(name=b'oof', type='file', target=b'6\xfa\xdew\x19<\xb6\xd2\xbd\x82aa\xa0\x97\x9dd\x...c2\x8a\xb4\xfa', perms=<DentryPerms.content: 33188>)), id=b'N\xa8\xc6\xb2\xf5DE\xe5\xdd\x1a\x9d[\xb2\xaf\xd8u\xd6o1P')] 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