Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.algos.test_identifer::test_missing_revisions[\xa6F\xdd\x94\xc9\x12\x82\x96Y\xb2*\x1e~\x14=/\xa5\xeb\xde\x1b]
Failed

TEST RESULT

Run At
May 5 2022, 8:30 PM
Details
swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f6c67ebe4a8> revision_id = b'\xa6F\xdd\x94\xc9\x12\x82\x96Y\xb2*\x1e~\x14=/\xa5\xeb\xde\x1b' missing_id = b'c\xb7\x9cL!\x89\x80\x8d[\xf1\x9e\xe0\xb3Y\x11\xe1\xd2\xb7\x0cJ' @pytest.mark.parametrize("revision_id", [o.id for o in StorageData.revisions]) def test_missing_revisions(swh_storage, revision_id, missing_id): hashes = [revision_id, missing_id] result = identifiers_missing(swh_storage, ObjectType.REVISION, hashes) > assert result == {missing_id} E AssertionError: assert <generator ob...x7f6bf39bbd68> == {b'c\xb7\x9cL...xd2\xb7\x0cJ'} E Full diff: E - {b'c\xb7\x9cL!\x89\x80\x8d[\xf1\x9e\xe0\xb3Y\x11\xe1\xd2\xb7\x0cJ'} E + <generator object Storage.revision_missing at 0x7f6bf39bbd68> .tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_identifer.py:40: AssertionError