mirror of
https://github.com/polhenarejos/pico-openpgp.git
synced 2024-09-20 03:10:10 +00:00
2c24c348b5
All tests are taken from gnuk. Reader is migrated from pyusb to pyscard. Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
7 lines
183 B
Python
7 lines
183 B
Python
import pytest
|
|
|
|
@pytest.fixture(scope="module",autouse=True)
|
|
def check_kdf_support(card):
|
|
if not card.kdf_supported:
|
|
pytest.skip("No KDF support", allow_module_level=True)
|