From 4f24ada50230fffc26d2b2260239ba2134155461 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Thu, 30 Apr 2020 13:54:39 -0700 Subject: [PATCH] fix tests --- certbot-apache/tests/ocsp_prefetch_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")