aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-12-23 07:35:39 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-12-23 07:35:39 -0500
commit7e5c96fcc3773960dcb2c44520954dc14db5d72d (patch)
tree1ed96ca76ea67b24c6fe209f63f56d586a2ed107 /tests/test_x509.py
parent53f45f92d8594ce97f6af99edba1ddca0c4fd838 (diff)
parenta9718fce3687a6a787ae8a03b989580dc68be260 (diff)
downloadcryptography-7e5c96fcc3773960dcb2c44520954dc14db5d72d.tar.gz
cryptography-7e5c96fcc3773960dcb2c44520954dc14db5d72d.tar.bz2
cryptography-7e5c96fcc3773960dcb2c44520954dc14db5d72d.zip
Merge pull request #2552 from reaperhulk/crlnumber
CRLNumber needs to be a class for reasons
Diffstat (limited to 'tests/test_x509.py')
-rw-r--r--tests/test_x509.py2
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=(