aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_x509.py')
-rw-r--r--tests/test_x509.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py
index 441d634b..78def5f8 100644
--- a/tests/test_x509.py
+++ b/tests/test_x509.py
@@ -784,9 +784,10 @@ class TestCertificateSigningRequestBuilder(object):
x509.NameAttribute(x509.OID_COMMON_NAME, u'cryptography.io'),
])
)
- with pytest.raises(ValueError):
+ with pytest.raises(NotImplementedError):
builder.add_extension(
- x509.AuthorityKeyIdentifier('keyid', None, None)
+ x509.AuthorityKeyIdentifier('keyid', None, None),
+ critical=False,
)