Fix core_rotates_screen.py
Some checks are pending
Build Artifacts / Windows (x86_64) (push) Waiting to run
Build Artifacts / macOS (x86_64) (push) Waiting to run
Build Artifacts / macOS (arm64) (push) Waiting to run
Build Artifacts / Linux (x86_64) (push) Waiting to run
Build Artifacts / Linux (arm64) (push) Waiting to run
Build Artifacts / Android (push) Waiting to run
Build Artifacts / iOS (push) Waiting to run
Build Artifacts / tvOS (push) Waiting to run

- One of the ScreenLayout constants got changed in a recent PR
This commit is contained in:
Jesse Talavera 2024-10-18 16:07:42 -04:00
parent a11f576de9
commit 597067cde7

View File

@ -52,7 +52,7 @@ with prelude.builder().with_input(generate_input).with_options(options).build()
assert session.video.rotation == Rotation.NINETY, f"Expected core rotation of 90 degrees, got {session.video.rotation}"
layout2 = screen_layout()
assert layout2 == 8, f"Expected screen layout 8 (TurnLeft), got {layout2}"
assert layout2 == 10, f"Expected screen layout 10 (TurnLeft), got {layout2}"
frame2 = session.video.screenshot(False)
geometry2 = session.video.geometry