diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-08 09:47:44 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-08 09:47:44 -0500 |
commit | c6cf8f384e3851548296cf874c3278e824585bb2 (patch) | |
tree | 8d3348ef9d2036a957a6a2a39b12047d0ed421e8 /tests/test_x509.py | |
parent | 93decfb272864655f0b88a119cf8d2986bfd656e (diff) | |
download | cryptography-c6cf8f384e3851548296cf874c3278e824585bb2.tar.gz cryptography-c6cf8f384e3851548296cf874c3278e824585bb2.tar.bz2 cryptography-c6cf8f384e3851548296cf874c3278e824585bb2.zip |
modify a CRL encode test to have multiple full_names
Diffstat (limited to 'tests/test_x509.py')
-rw-r--r-- | tests/test_x509.py | 11 |
1 files changed, 8 insertions, 3 deletions
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, |