From c6cf8f384e3851548296cf874c3278e824585bb2 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 8 Aug 2015 09:47:44 -0500 Subject: modify a CRL encode test to have multiple full_names --- tests/test_x509.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test_x509.py b/tests/test_x509.py index 5fe6eb40..4e763e36 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py @@ -1192,9 +1192,14 @@ class TestCertificateBuilder(object): ]), x509.CRLDistributionPoints([ x509.DistributionPoint( - full_name=[x509.UniformResourceIdentifier( - u"http://myhost.com/myca.crl" - )], + full_name=[ + x509.UniformResourceIdentifier( + u"http://myhost.com/myca.crl" + ), + x509.UniformResourceIdentifier( + u"http://backup.myhost.com/myca.crl" + ) + ], relative_name=None, reasons=frozenset([ x509.ReasonFlags.key_compromise, -- cgit v1.2.3