aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Trauschke <erik.trauschke@gmail.com>2015-10-21 10:48:28 -0700
committerErik Trauschke <erik.trauschke@gmail.com>2015-10-21 10:48:28 -0700
commitcee79f88f8d8a1758042234e1cb8dcb0c07c11d4 (patch)
tree6205a2452a509017c04f5e528e9e6f10ed35f995
parent32bbfe0f27c284d6c268f2998e64f62083465faf (diff)
downloadcryptography-cee79f88f8d8a1758042234e1cb8dcb0c07c11d4.tar.gz
cryptography-cee79f88f8d8a1758042234e1cb8dcb0c07c11d4.tar.bz2
cryptography-cee79f88f8d8a1758042234e1cb8dcb0c07c11d4.zip
test fix
-rw-r--r--tests/test_x509.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py
index 9567b649..e6358056 100644
--- a/tests/test_x509.py
+++ b/tests/test_x509.py
@@ -219,7 +219,9 @@ class TestRevokedCertificate(object):
assert len(rev0.extensions) == 0
with pytest.raises(x509.ExtensionNotFound):
rev0.extensions.get_extension_for_oid(x509.OID_CRL_REASON)
+ with pytest.raises(x509.ExtensionNotFound):
rev0.extensions.get_extension_for_oid(x509.OID_CERTIFICATE_ISSUER)
+ with pytest.raises(x509.ExtensionNotFound):
rev0.extensions.get_extension_for_oid(x509.OID_INVALIDITY_DATE)
# Test manual retrieval of extension values.