diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_x509.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py index c380b860..61e7a7d0 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py @@ -241,6 +241,9 @@ class TestRevokedCertificate(object): # Check that len() works for CRLs. assert len(crl) == 12 + # Check that direct access to revoked cert in CRL works + assert isinstance(crl[0], x509.RevokedCertificate) + def test_duplicate_entry_ext(self, backend): crl = _load_cert( os.path.join("x509", "custom", "crl_dup_entry_ext.pem"), |