Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
May 1 2022, 8:16 PM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7f3de8435a90> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7f3ba39e6ba8> @settings( > suppress_health_check=[HealthCheck.too_slow, HealthCheck.data_too_large] + function_scoped_fixture_check, ) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:771: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:782: in test_directory_add_get_arbitrary swh_storage.directory_get_entries, directory.id _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ storage = <bound method CassandraStorage.directory_get_entries of <swh.storage.in_memory.InMemoryStorage object at 0x7f3ba39e6ba8>> directory_id = b'\xb8\x91\x1c\xaa\xa5y}\\\xfd\xfc\x11\xeb)M\xfa\xe6k^\x06\x1d' def directory_get_all_entries( storage: StorageInterface, directory_id: Sha1Git ) -> Optional[Directory]: """Get all the entries for a given directory Args: storage (swh.storage.interface.StorageInterface): the storage instance directory_id (bytes): the directory's identifier Returns: The directory if it could be properly put back together. """ entries: Optional[Iterable[DirectoryEntry]] = stream_results_optional( > storage.directory_get_entries, directory_id=directory_id, ) E AttributeError: 'function' object has no attribute 'directory_get_entries' .tox/py3/lib/python3.7/site-packages/swh/storage/algos/directory.py:29: AttributeError