1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-29 02:48:18 +00:00

test(python): fix test_msg_applysettings device tests

[no changelog]
This commit is contained in:
M1nd3r 2024-11-25 14:42:48 +01:00
parent 7db661f0ab
commit aaa9dfbb30

View File

@ -208,7 +208,10 @@ def test_apply_homescreen_toif(session: Session):
@pytest.mark.models(skip=["legacy", "safe3"])
def test_apply_homescreen_jpeg(session: Session):
raise Exception("FAILS BECAUSE THE MESSAGE IS BIGGER THAN THE INTERNAL READ BUFFER")
if session.session_version is Session.THP_V2:
raise Exception(
"FAILS BECAUSE THE MESSAGE IS BIGGER THAN THE INTERNAL READ BUFFER"
)
with open(HERE / "test_bg.jpg", "rb") as f:
img = f.read()
# raise Exception("FAILS FOR SOME REASON ")