diff --git a/tests/test_gallery_provenance_filter.py b/tests/test_gallery_provenance_filter.py index 2ee5d87..a7f2ba4 100644 --- a/tests/test_gallery_provenance_filter.py +++ b/tests/test_gallery_provenance_filter.py @@ -55,7 +55,9 @@ async def _post(db, artist_name, slug, ext): @pytest.mark.asyncio async def test_scroll_post_id_filter(db): - i1, i2, i3 = await _img(db, 1), await _img(db, 2), await _img(db, 3) + i1 = await _img(db, 1) + i2 = await _img(db, 2) + await _img(db, 3) # unmatched image — proves the filter excludes it _, s, p = await _post(db, "A", "a", "10") db.add(ImageProvenance(image_record_id=i1.id, post_id=p.id, source_id=s.id)) @@ -85,7 +87,8 @@ async def test_scroll_post_id_dedups_multi_rows(db): @pytest.mark.asyncio async def test_scroll_artist_id_filter(db): - i1, i2 = await _img(db, 1), await _img(db, 2) + i1 = await _img(db, 1) + await _img(db, 2) # unmatched image — proves the filter excludes it a, s, p = await _post(db, "A", "a", "10") db.add(ImageProvenance(image_record_id=i1.id, post_id=p.id, source_id=s.id))