Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.algos.test_identifer::test_missing_contents[6\xfa\xdew\x19<\xb6\xd2\xbd\x82aa\xa0\x97\x9dd\xc2\x8a\xb4\xfa]
Failed

TEST RESULT

Run At
May 5 2022, 8:30 PM
Details
swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f6c28288c50> content_id = b'6\xfa\xdew\x19<\xb6\xd2\xbd\x82aa\xa0\x97\x9dd\xc2\x8a\xb4\xfa' missing_id = b'\xb3\x93b\x1d\xd7\xb0\xad\x02MYy\x8c8\xcc\xbd\x19\xa5\xde\xb1_' @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...x7f6bf3ad3f48> == {b'\xb3\x93b\...xa5\xde\xb1_'} E Full diff: E - {b'\xb3\x93b\x1d\xd7\xb0\xad\x02MYy\x8c8\xcc\xbd\x19\xa5\xde\xb1_'} E + <generator object Storage.content_missing_per_sha1_git at 0x7f6bf3ad3f48> .tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_identifer.py:24: AssertionError