swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f6c07cf4ba8>
release_id = b'\xf7\xf2"\t:\x18\xec`\xd7\x81\x07\n\xbe\xc4\xa60\xc8P\xb87'
missing_id = b'P\xd6\xeaP\xc7\xf0\xb8\xb0w\xd3]66\xf29(\x8ct\xa2\x87'
@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...x7f6bf39a19a8> == {b'P\xd6\xeaP...x8ct\xa2\x87'}
E Full diff:
E - {b'P\xd6\xeaP\xc7\xf0\xb8\xb0w\xd3]66\xf29(\x8ct\xa2\x87'}
E + <generator object Storage.release_missing at 0x7f6bf39a19a8>
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_identifer.py:48: AssertionError
TEST RESULT
TEST RESULT
- Run At
- May 5 2022, 8:30 PM