It can be safely checked.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2023-02-04 23:45:07 +01:00
parent 3c7df3aa42
commit 1863971a1b
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3

View File

@ -37,7 +37,7 @@ class Test_Reset_ATTRS(object):
pytest.skip("Yubikey returns no attr when no key")
else:
a1 = get_data_object(card, 0xc1)
if card.is_gnuk:
if not card.is_gnuk:
assert a1 == a
else:
pytest.skip("Zeitcontrol returns None when no key")
@ -50,7 +50,7 @@ class Test_Reset_ATTRS(object):
pytest.skip("Yubikey returns no attr when no key")
else:
a1 = get_data_object(card, 0xc2)
if card.is_gnuk:
if not card.is_gnuk:
assert a1 == a
else:
pytest.skip("Zeitcontrol returns None when no key")
@ -63,7 +63,7 @@ class Test_Reset_ATTRS(object):
pytest.skip("Yubikey returns no attr when no key")
else:
a1 = get_data_object(card, 0xc3)
if card.is_gnuk:
if not card.is_gnuk:
assert a1 == a
else:
pytest.skip("Zeitcontrol returns None when no key")