fix(test): archive members need structured imgs+threshold0; provenance payload gained attachments key
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -58,7 +58,9 @@ async def test_for_image_no_provenance_returns_empty_list(db):
|
||||
rec = await _seed_image(db)
|
||||
svc = ProvenanceService(db)
|
||||
payload = await svc.for_image(rec.id)
|
||||
assert payload == {"image_id": rec.id, "provenance": []}
|
||||
assert payload == {
|
||||
"image_id": rec.id, "provenance": [], "attachments": []
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
||||
Reference in New Issue
Block a user