diff options
author | José Padilla <jpadilla@users.noreply.github.com> | 2022-05-12 14:44:55 -0400 |
---|---|---|
committer | José Padilla <jpadilla@users.noreply.github.com> | 2022-05-12 14:44:55 -0400 |
commit | 96f3f0275745c5a455c019a0d3476a054980e8ea (patch) | |
tree | e7931b8b23e97a7c619b74cf6f55d33dfe46b632 /tests | |
parent | 9c528670c455b8d948aff95ed50e22940d1ad3fc (diff) | |
download | pyjwt-96f3f0275745c5a455c019a0d3476a054980e8ea.tar.gz |
fix: failing advisory test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_advisory.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_advisory.py b/tests/test_advisory.py index f70f54b..a4a7d23 100644 --- a/tests/test_advisory.py +++ b/tests/test_advisory.py @@ -2,6 +2,8 @@ import jwt import pytest from jwt.exceptions import InvalidKeyError +from .utils import crypto_required + priv_key_bytes = b'''-----BEGIN PRIVATE KEY----- MC4CAQAwBQYDK2VwBCIEIIbBhdo2ah7X32i50GOzrCr4acZTe6BezUdRIixjTAdL -----END PRIVATE KEY-----''' @@ -18,6 +20,7 @@ ssh_key_bytes = b"""ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlz class TestAdvisory: + @crypto_required def test_ghsa_ffqj_6fqr_9h24(self): # Generate ed25519 private key # private_key = ed25519.Ed25519PrivateKey.generate() |