Browse search + series numbering rework + kebab fix #98
@@ -93,7 +93,9 @@ async def test_add_post_stages_pending(db):
|
||||
assert grp["post"]["id"] == post.id
|
||||
assert grp["post"]["title"] == "Story pages 9-11"
|
||||
assert [pg["image_id"] for pg in grp["pages"]] == imgs
|
||||
assert [pg["stated_page"] for pg in grp["pages"]] == [9, 10, 11]
|
||||
# add_post stamps the post's parsed START (9) on every staged page; the
|
||||
# group surfaces it as start_page (the default for "Place from page N").
|
||||
assert grp["start_page"] == 9
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
||||
Reference in New Issue
Block a user