aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2024-06-03 09:32:28 -0400
committerGitHub <noreply@github.com>2024-06-03 06:32:28 -0700
commitd54d67353b5384bee303024cbc55b1392a87ee6d (patch)
tree0b4f6116cf582d05d7326e721d3b140f43e2dbb0 /tests
parent0419242d00a1ffbbf7ea0ee0135a9a3e60ef2298 (diff)
downloadpyca-cryptography-d54d67353b5384bee303024cbc55b1392a87ee6d.zip
pyca-cryptography-d54d67353b5384bee303024cbc55b1392a87ee6d.tar.gz
pyca-cryptography-d54d67353b5384bee303024cbc55b1392a87ee6d.tar.bz2
Register OCSPSingleResponse implementation with interface (#11066)
Diffstat (limited to 'tests')
-rw-r--r--tests/x509/test_ocsp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/x509/test_ocsp.py b/tests/x509/test_ocsp.py
index 31e04f6..1d155bb 100644
--- a/tests/x509/test_ocsp.py
+++ b/tests/x509/test_ocsp.py
@@ -1179,6 +1179,7 @@ class TestOCSPResponse:
with pytest.raises(ValueError):
resp.serial_number
+ assert isinstance(next(resp.responses), ocsp.OCSPSingleResponse)
assert len(list(resp.responses)) == 20
def test_multi_valued_responses(self):