From 5eb9e12e3b95ca7b746275af8130308c1eda7fec Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Wed, 4 Dec 2024 16:20:22 +0100 Subject: [PATCH] fix(tests): change xfail to skip when using protocol_marker [no changelog] --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 8a5f2bac98..9df5463d76 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -291,7 +291,7 @@ def client( protocol_version == ProtocolVersion.PROTOCOL_V1 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." ) @@ -299,7 +299,7 @@ def client( protocol_version == ProtocolVersion.PROTOCOL_V2 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." )