mirror of
https://github.com/polhenarejos/pico-openpgp.git
synced 2024-09-20 03:10:10 +00:00
It can be safely checked.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
3c7df3aa42
commit
1863971a1b
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user