diff --git a/certbot-apache/tests/ocsp_prefetch_test.py b/certbot-apache/tests/ocsp_prefetch_test.py index 6a61435b8..10461a261 100644 --- a/certbot-apache/tests/ocsp_prefetch_test.py +++ b/certbot-apache/tests/ocsp_prefetch_test.py @@ -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")