def test_determine_ocsp_server(self): cert_path = test_util.vector_path('google_certificate.pem') from certbot import ocsp result = ocsp._determine_ocsp_server(cert_path) self.assertEqual(('http://ocsp.digicert.com', 'ocsp.digicert.com'), result)
def test_determine_ocsp_server(self): cert_path = test_util.vector_path('google_certificate.pem') from certbot import ocsp result = ocsp._determine_ocsp_server(cert_path) self.assertEqual(('http://ocsp.digicert.com', 'ocsp.digicert.com'), result)