diff options
author | Phoebe Queen <foibey@gmail.com> | 2015-08-12 15:06:26 +0100 |
---|---|---|
committer | Phoebe Queen <foibey@gmail.com> | 2015-08-12 15:06:26 +0100 |
commit | cb5ec4e90ea06d0b5ee95c68c26927ab7623b588 (patch) | |
tree | e689aa62baef0693d383b6137252ac31ac9ef9cb | |
parent | 6a603eb9e57cff560b9f0204d1f506219b60912b (diff) | |
download | cryptography-cb5ec4e90ea06d0b5ee95c68c26927ab7623b588.tar.gz cryptography-cb5ec4e90ea06d0b5ee95c68c26927ab7623b588.tar.bz2 cryptography-cb5ec4e90ea06d0b5ee95c68c26927ab7623b588.zip |
Swap test vector verisign for cryptography.io.pem
-rw-r--r-- | tests/test_x509_ext.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_x509_ext.py b/tests/test_x509_ext.py index 33da27ec..85373973 100644 --- a/tests/test_x509_ext.py +++ b/tests/test_x509_ext.py @@ -835,15 +835,15 @@ class TestExtensions(object): def test_no_extensions_get_for_class(self, backend): cert = _load_cert( os.path.join( - "x509", "verisign_md2_root.pem" + "x509", "cryptography.io.pem" ), x509.load_pem_x509_certificate, backend ) exts = cert.extensions with pytest.raises(x509.ExtensionNotFound) as exc: - exts.get_extension_for_class(x509.BasicConstraints) - assert exc.value.oid == ExtensionOID.BASIC_CONSTRAINTS + exts.get_extension_for_class(x509.IssuerAlternativeName) + assert exc.value.oid == ExtensionOID.ISSUER_ALTERNATIVE_NAME def test_one_extension_get_for_class(self, backend): cert = _load_cert( |