Match photo selection and rendered canvas to device rotation

This commit is contained in:
Pigway
2026-10-05 22:44:41 +08:00
parent 8139a646d7
commit 59345f12a7
13 changed files with 249 additions and 35 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ def test_source_filters_unorganized_and_reports_caption(client, service, setting
op = client.get("/api/v1/operations/" + accepted.json()["operation_id"]).json()
assert op["status"] == "COMPLETED"
with Image.open(BytesIO(client.get(op["result"]["url"]).content)) as image:
assert image.size == (1200, 1600)
assert image.size == (1600, 1200)
def test_curated_catalog_includes_photos_beyond_old_ten_thousand_limit(