pico-openpgp/tests/skip_gnuk_only_tests.py
Pol Henarejos 2c24c348b5
Adding tests for OpenPGP.
All tests are taken from gnuk. Reader is migrated from pyusb to pyscard.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-02-02 23:08:49 +01:00

7 lines
178 B
Python

import pytest
@pytest.fixture(scope="module",autouse=True)
def check_gnuk_only(card):
if not card.is_gnuk:
pytest.skip("Gnuk only feature", allow_module_level=True)