From cb5ec4e90ea06d0b5ee95c68c26927ab7623b588 Mon Sep 17 00:00:00 2001 From: Phoebe Queen Date: Wed, 12 Aug 2015 15:06:26 +0100 Subject: Swap test vector verisign for cryptography.io.pem --- tests/test_x509_ext.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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( -- cgit v1.2.3