gnuk/tests/skip_if_yubikey.py
NIIBE Yutaka 1ba3b76796 Merge tests from rsa-removal branch.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2021-11-02 16:15:35 +09:00

7 lines
199 B
Python

import pytest
@pytest.fixture(scope="module",autouse=True)
def check_yubikey(card):
if card.is_yubikey:
pytest.skip("Yubikey has no support for those features", allow_module_level=True)