Skip to content

Commit f15bd76

Browse files
authored
Merge pull request mozilla#556 from janbrasna/fix/crypto-instance
Fix SECP256R1 instance in test_auth
2 parents 774b140 + a2eccd5 commit f15bd76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ def test_es256_alg_verification(self, mock_requests):
12191219
self.backend = OIDCAuthenticationBackend()
12201220

12211221
# Generate a private key to create a test token with
1222-
private_key = ec.generate_private_key(ec.SECP256R1, default_backend())
1222+
private_key = ec.generate_private_key(ec.SECP256R1(), default_backend())
12231223

12241224
# Make the public key available through the JWKS response
12251225
public_numbers = private_key.public_key().public_numbers()

0 commit comments

Comments
 (0)