aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509_ext.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_x509_ext.py')
-rw-r--r--tests/test_x509_ext.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_x509_ext.py b/tests/test_x509_ext.py
index 511fad62..de2fb671 100644
--- a/tests/test_x509_ext.py
+++ b/tests/test_x509_ext.py
@@ -1871,6 +1871,10 @@ class TestAccessDescription(object):
AuthorityInformationAccessOID.CA_ISSUERS, "invalid"
)
+ def test_valid_nonstandard_method (self):
+ ad = x509.AccessDescription("2.999.1", x509.UniformResourceIdentifier(u"http://example.com"))
+ assert ad is not None
+
def test_repr(self):
ad = x509.AccessDescription(
AuthorityInformationAccessOID.OCSP,