From 7014e6827d23e5a1b11bde10cbb5f6e959bbac23 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 18 May 2026 18:29:18 -0400 Subject: [PATCH] =?UTF-8?q?fix(test):=20ruff=20F841=20=E2=80=94=20don't=20?= =?UTF-8?q?bind=20unmatched=20seed=20images=20(tuple-unpack=20flagged)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 (1M context) --- tests/test_gallery_provenance_filter.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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))