summaryrefslogtreecommitdiff
path: root/test/modules/md/test_800_must_staple.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/modules/md/test_800_must_staple.py')
-rw-r--r--test/modules/md/test_800_must_staple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/modules/md/test_800_must_staple.py b/test/modules/md/test_800_must_staple.py
index 06e881c2f1..32edee3393 100644
--- a/test/modules/md/test_800_must_staple.py
+++ b/test/modules/md/test_800_must_staple.py
@@ -47,7 +47,7 @@ class TestMustStaple:
cert1 = MDCertUtil(env.store_domain_file(self.domain, 'pubcert.pem'))
assert not cert1.get_must_staple()
stat = env.get_ocsp_status(self.domain)
- assert stat['ocsp'] == "no response sent"
+ assert 'ocsp' not in stat or stat['ocsp'] == "no response sent"
# MD that must staple and toggle off again
@pytest.mark.skipif(MDTestEnv.lacks_ocsp(), reason="no OCSP responder")