mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
fix tests
This commit is contained in:
parent
85225751a7
commit
4f24ada502
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ class OCSPPrefetchTest(util.ApacheTest):
|
|||
|
||||
@mock.patch("certbot_apache._internal.constants.OCSP_INTERNAL_TTL", 0)
|
||||
def test_ocsp_prefetch_refresh(self):
|
||||
def ocsp_req_mock(_cert, _chain, workfile):
|
||||
def ocsp_req_mock(_cert, _chain, _timeout, workfile):
|
||||
"""Method to mock the OCSP request and write response to file"""
|
||||
with open(workfile, 'w') as fh:
|
||||
fh.write("MOCKRESPONSE")
|
||||
|
|
|
|||
Loading…
Reference in a new issue