Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.algos.test_identifer::test_missing_contents[\xc92\xc7d\x9cm\xfaK\x822}\x12\x12\x15\x11i\t\xeb;\xea]
Failed

TEST RESULT

Run At
May 5 2022, 8:30 PM
Details
swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f6c851c94e0> content_id = b'\xc92\xc7d\x9cm\xfaK\x822}\x12\x12\x15\x11i\t\xeb;\xea' missing_id = b'<\xa7Z\x95\xac\x0e!\x19\xca\x9a\x13\x90@o\x83j\xf0\x0eB\xd6' @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 AssertionError: assert <generator ob...x7f6bf3a8b6d8> == {b'<\xa7Z\x95...xf0\x0eB\xd6'} E Full diff: E - {b'<\xa7Z\x95\xac\x0e!\x19\xca\x9a\x13\x90@o\x83j\xf0\x0eB\xd6'} E + <generator object Storage.content_missing_per_sha1_git at 0x7f6bf3a8b6d8> .tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_identifer.py:24: AssertionError