fix tests

This commit is contained in:
Brad Warren 2020-04-30 13:54:39 -07:00
parent 9c2eb7ad4f
commit b282046ea6

View file

@ -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")