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>
This commit is contained in:
6
tests/skip_if_no_kdf_support.py
Normal file
6
tests/skip_if_no_kdf_support.py
Normal file
@@ -0,0 +1,6 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user