Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.algos.test_identifer::test_missing_directories[RV\xe8V\xa0\xa0\x89\x89f\xd6\xba\x14\xfe\xb48\x8b\x8b\x82\xd3\x02]
Failed

TEST RESULT

Run At
May 5 2022, 8:30 PM
Details
swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f6c3c3330f0> directory_id = b'RV\xe8V\xa0\xa0\x89\x89f\xd6\xba\x14\xfe\xb48\x8b\x8b\x82\xd3\x02' missing_id = b'Bd;\xd1&h\xc0Hyg\xc4\xd1\xad\xf4\x9f\x18\x98\x11\xec\xf1' @pytest.mark.parametrize("directory_id", [o.id for o in StorageData.directories]) def test_missing_directories(swh_storage, directory_id, missing_id): hashes = [directory_id, missing_id] > result = identifiers_missing(swh_storage, ObjectType.Directories, hashes) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_identifer.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <enum 'ObjectType'>, name = 'Directories' def __getattr__(cls, name): """Return the enum member matching `name` We use __getattr__ instead of descriptors or inserting into the enum class' __dict__ in order to support `name` and `value` being both properties for enum members (which live in the class' __dict__) and enum members themselves. """ if _is_dunder(name): raise AttributeError(name) try: return cls._member_map_[name] except KeyError: > raise AttributeError(name) from None E AttributeError: Directories /usr/lib/python3.7/enum.py:349: AttributeError