From 1cd8fee9c6fa746d395c88df1c6fd59d32280eb5 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 4 Aug 2015 07:55:40 +0100 Subject: add missing test --- tests/test_x509.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/tests/test_x509.py b/tests/test_x509.py index 71c29f75..5fe6eb40 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py @@ -1146,6 +1146,31 @@ class TestCertificateBuilder(object): @pytest.mark.parametrize( "cdp", [ + x509.CRLDistributionPoints([ + x509.DistributionPoint( + full_name=None, + relative_name=x509.Name([ + x509.NameAttribute( + x509.OID_COMMON_NAME, + u"indirect CRL for indirectCRL CA3" + ), + ]), + reasons=None, + crl_issuer=[x509.DirectoryName( + x509.Name([ + x509.NameAttribute(x509.OID_COUNTRY_NAME, u"US"), + x509.NameAttribute( + x509.OID_ORGANIZATION_NAME, + u"Test Certificates 2011" + ), + x509.NameAttribute( + x509.OID_ORGANIZATIONAL_UNIT_NAME, + u"indirectCRL CA3 cRLIssuer" + ), + ]) + )], + ) + ]), x509.CRLDistributionPoints([ x509.DistributionPoint( full_name=[x509.DirectoryName( -- cgit v1.2.3