Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.algos.test_identifer::test_missing_contents[\xd8\x1c\xc0q\x0e\xb6\xcf\x9e\xfd[\x92\n\x84S\xe1\xe0qW\xb6\xcd]
Failed

TEST RESULT

Run At
May 5 2022, 8:30 PM
Details
swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f6c096d8198> content_id = b'\xd8\x1c\xc0q\x0e\xb6\xcf\x9e\xfd[\x92\n\x84S\xe1\xe0qW\xb6\xcd' missing_id = b"\x1f\x84\xd5'\x92\xb1 4\xfe\xe0\x1fBK\xa3\x88\xe3\xa3hD\xcc" @pytest.mark.parametrize("content_id", [c.sha1_git for c in StorageData.contents]) def test_missing_contents(swh_storage, content_id, missing_id): hashes = [content_id, missing_id] result = identifiers_missing(swh_storage, ObjectType.CONTENT, hashes) > assert result == {missing_id} E assert <generator ob...x7f6bf3ad39a8> == {b"\x1f\x84\x...e3\xa3hD\xcc"} E Full diff: E - {b"\x1f\x84\xd5'\x92\xb1 4\xfe\xe0\x1fBK\xa3\x88\xe3\xa3hD\xcc"} E + <generator object Storage.content_missing_per_sha1_git at 0x7f6bf3ad39a8> .tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_identifer.py:24: AssertionError