From fcf6611eb27950e2d6684c7f685a966fc45738c2 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Thu, 22 Aug 2019 17:54:42 +0300 Subject: [PATCH] skip usb solo tests --- tests/vendor/solo/test_solo.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/vendor/solo/test_solo.py b/tests/vendor/solo/test_solo.py index 2e47a3e..b01bb09 100644 --- a/tests/vendor/solo/test_solo.py +++ b/tests/vendor/solo/test_solo.py @@ -1,10 +1,7 @@ -import math -from binascii import hexlify +import sys import pytest -from fido2.ctap import CtapError from fido2.ctap1 import ApduError -from fido2.hid import CTAPHID from fido2.utils import sha256 from solo.client import SoloClient from solo.commands import SoloExtension @@ -23,6 +20,10 @@ def solo(request, device): return sc +@pytest.mark.skipif( + '--nfc' in sys.argv, + reason="Wrong transport" +) class TestSolo(object): def test_solo(self, solo): pass