Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed Dec 21, 2023
1 parent 048d201 commit d003561
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_piv.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ def test_supported_algorithms(self):
Version(4, 3, 4), key_type, PIN_POLICY.DEFAULT, TOUCH_POLICY.DEFAULT
)

for key_type in (KEY_TYPE.ED25519, KEY_TYPE.X25519):
with pytest.raises(NotSupportedError):
check_key_support(
Version(5, 6, 0), key_type, PIN_POLICY.DEFAULT, TOUCH_POLICY.DEFAULT
)

for key_type in KEY_TYPE:
check_key_support(
Version(5, 1, 0), key_type, PIN_POLICY.DEFAULT, TOUCH_POLICY.DEFAULT
Version(5, 7, 0), key_type, PIN_POLICY.DEFAULT, TOUCH_POLICY.DEFAULT
)

0 comments on commit d003561

Please sign in to comment.