diff options
Diffstat (limited to 'tests/test_algorithms.py')
-rw-r--r-- | tests/test_algorithms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_algorithms.py b/tests/test_algorithms.py index fca930c..ac26600 100644 --- a/tests/test_algorithms.py +++ b/tests/test_algorithms.py @@ -679,7 +679,7 @@ class TestOKPAlgorithms: def test_okp_ed25519_should_reject_non_string_key(self): algo = OKPAlgorithm() - with pytest.raises(TypeError): + with pytest.raises(InvalidKeyError): algo.prepare_key(None) with open(key_path("testkey_ed25519")) as keyfile: |