Match photo selection and rendered canvas to device rotation
This commit is contained in:
@@ -74,7 +74,7 @@ def test_random_preview_is_local_and_display_uses_same_asset(client, service, ph
|
||||
assert service.registry.get("living-room").get_current_image() == before
|
||||
image = client.get(op["result"]["url"])
|
||||
assert image.status_code == 200
|
||||
assert Image.open(BytesIO(image.content)).size == (1200, 1600)
|
||||
assert Image.open(BytesIO(image.content)).size == (1600, 1200)
|
||||
r = client.post(
|
||||
"/api/v1/display",
|
||||
json={"content": {"type": "image", "asset_id": op["result"]["asset_id"]}},
|
||||
|
||||
Reference in New Issue
Block a user