1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-25 23:01:02 +00:00

test: skip thp device test on protocol_v1 emu

[no changelog]
This commit is contained in:
M1nd3r 2025-01-24 13:03:48 +01:00
parent b2ed34b2e2
commit 98952cf4ef

View File

@ -32,11 +32,9 @@ XPUB = "xpub6BiVtCpG9fQPxnPmHXG8PhtzQdWC2Su4qWu6XW9tpWFYhxydCLJGrWBJZ5H6qTAHdPQ7
PIN4 = "1234"
@pytest.mark.protocol("protocol_v2")
def test_thp_end_session(client: Client):
session = Session(client.get_session())
if session.protocol_version == ProtocolVersion.PROTOCOL_V1:
# TODO: This test should be skipped on non-THP builds
return
msg = session.call(messages.EndSession())
assert isinstance(msg, messages.Success)