diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-22 21:40:20 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-22 21:40:20 -0600 |
commit | 3b95cd7f563809c136205c0642b4d54395e6b2eb (patch) | |
tree | 34ff578474ce4d1c665242a7b0dda0ff49f03044 /tests/test_x509.py | |
parent | 53f45f92d8594ce97f6af99edba1ddca0c4fd838 (diff) | |
download | cryptography-3b95cd7f563809c136205c0642b4d54395e6b2eb.tar.gz cryptography-3b95cd7f563809c136205c0642b4d54395e6b2eb.tar.bz2 cryptography-3b95cd7f563809c136205c0642b4d54395e6b2eb.zip |
CRLNumber needs to be a class for reasons.
Diffstat (limited to 'tests/test_x509.py')
-rw-r--r-- | tests/test_x509.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py index b39e1891..ae2746e3 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py @@ -192,7 +192,7 @@ class TestCertificateRevocationList(object): ian = crl.extensions.get_extension_for_class( x509.IssuerAlternativeName ) - assert crl_number.value == 1 + assert crl_number.value == x509.CRLNumber(1) assert crl_number.critical is False assert aki.value == x509.AuthorityKeyIdentifier( key_identifier=( |