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:
parent
b2ed34b2e2
commit
98952cf4ef
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user