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:
parent
55e526a1f5
commit
5eb9e12e3b
@ -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."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user