Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.algos.test_identifer::test_missing_releases[\xdb\x81\xa2g\x83\xa3\xf4\xa9\xdb\x07\xb4u\x9f\xfc7b\x1f\x15\x9b\xb2]
Failed

TEST RESULT

Run At
May 5 2022, 8:30 PM
Details
swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f6c28292e80> release_id = b'\xdb\x81\xa2g\x83\xa3\xf4\xa9\xdb\x07\xb4u\x9f\xfc7b\x1f\x15\x9b\xb2' missing_id = b'\x16}\xc2\x8a\xbc\xf4\x80R\xf8d@i\x00\xfa\xe9&\xe3\x1b\xf8u' @pytest.mark.parametrize("release_id", [o.id for o in StorageData.releases]) def test_missing_releases(swh_storage, release_id, missing_id): hashes = [release_id, missing_id] result = identifiers_missing(swh_storage, ObjectType.RELEASE, hashes) > assert result == {missing_id} E AssertionError: assert <generator ob...x7f6bf39a1f48> == {b'\x16}\xc2\...xe3\x1b\xf8u'} E Full diff: E - {b'\x16}\xc2\x8a\xbc\xf4\x80R\xf8d@i\x00\xfa\xe9&\xe3\x1b\xf8u'} E + <generator object Storage.release_missing at 0x7f6bf39a1f48> .tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_identifer.py:48: AssertionError