feat(series): list_pages returns full image_url for the reader
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -118,6 +118,7 @@ async def test_list_pages_shape_and_guards(db):
|
||||
assert out["pages"][0]["image_id"] == i1
|
||||
assert out["pages"][0]["page_number"] == 1
|
||||
assert out["pages"][0]["thumbnail_url"]
|
||||
assert out["pages"][0]["image_url"].startswith("/images/")
|
||||
g = await TagService(db).find_or_create("notser", TagKind.general)
|
||||
with pytest.raises(SeriesError):
|
||||
await svc.list_pages(g.id)
|
||||
|
||||
Reference in New Issue
Block a user