swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f6c55b80e48>
revision_id = b'\x95\x1c\x95\x03T\x1e{\xea\xf0\x02\xd7\xae\xbf*\xbd\x16)\x08Lh'
missing_id = b'va\xf6\x05\x99\x87\x91\xc6\xae\x9c\xdbHp=\xb6Q\xb0MR\x97'
@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...x7f6bf39b5138> == {b'va\xf6\x05...6Q\xb0MR\x97'}
E Full diff:
E - {b'va\xf6\x05\x99\x87\x91\xc6\xae\x9c\xdbHp=\xb6Q\xb0MR\x97'}
E + <generator object Storage.revision_missing at 0x7f6bf39b5138>
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_identifer.py:40: AssertionError
TEST RESULT
TEST RESULT
- Run At
- May 5 2022, 8:30 PM