1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-22 05:10:56 +00:00

fix(tests): change xfail to skip when using protocol_marker

[no changelog]
This commit is contained in:
M1nd3r 2024-12-04 16:20:22 +01:00
parent 6482b236b7
commit c03037f56a

View File

@ -291,7 +291,7 @@ def client(
protocol_version == ProtocolVersion.PROTOCOL_V1 protocol_version == ProtocolVersion.PROTOCOL_V1
and "protocol_v1" not in args and "protocol_v1" not in args
): ):
pytest.xfail( pytest.skip(
f"Skipping test for device/emulator with protocol_v{protocol_version} - the protocol is not supported." f"Skipping test for device/emulator with protocol_v{protocol_version} - the protocol is not supported."
) )
@ -299,7 +299,7 @@ def client(
protocol_version == ProtocolVersion.PROTOCOL_V2 protocol_version == ProtocolVersion.PROTOCOL_V2
and "protocol_v2" not in args and "protocol_v2" not in args
): ):
pytest.xfail( pytest.skip(
f"Skipping test for device/emulator with protocol_v{protocol_version} - the protocol is not supported." f"Skipping test for device/emulator with protocol_v{protocol_version} - the protocol is not supported."
) )