Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.algos.test_identifer::test_missing_snapshots[\x1a\x88\x93\xe6\xa8oDN\x8b\xe8\xe7\xbd\xa6\xcb4\xfb\x175\xa0\x0e]
Failed

TEST RESULT

Run At
May 5 2022, 8:30 PM
Details
swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f6c07ceb9b0> snapshot_id = b'\x1a\x88\x93\xe6\xa8oDN\x8b\xe8\xe7\xbd\xa6\xcb4\xfb\x175\xa0\x0e' missing_id = b'O\x99\x99\xaep$\xeb*\x93n6n\xa4\xbf\x9cp\xb5g\xb8\x80' @pytest.mark.parametrize("snapshot_id", [o.id for o in StorageData.snapshots]) def test_missing_snapshots(swh_storage, snapshot_id, missing_id): hashes = [snapshot_id, missing_id] result = identifiers_missing(swh_storage, ObjectType.CONTENT, hashes) > assert result == {missing_id} E AssertionError: assert <generator ob...x7f6bf39b5048> == {b'O\x99\x99\...xb5g\xb8\x80'} E Full diff: E - {b'O\x99\x99\xaep$\xeb*\x93n6n\xa4\xbf\x9cp\xb5g\xb8\x80'} E + <generator object Storage.content_missing_per_sha1_git at 0x7f6bf39b5048> .tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_identifer.py:56: AssertionError