MCPcopy Create free account
hub / github.com/apache/httpd / check_acme

Method check_acme

test/modules/md/md_env.py:212–224  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

210 return self.run(preargs + args)
211
212 def check_acme(self):
213 if self._acme_server_ok:
214 return True
215 if self._acme_server_down:
216 pytest.skip(msg="ACME server not running")
217 return False
218 if self.is_live(self.acme_url, timeout=timedelta(seconds=0.5)):
219 self._acme_server_ok = True
220 return True
221 else:
222 self._acme_server_down = True
223 pytest.fail(msg="ACME server not running", pytrace=False)
224 return False
225
226 def get_ca_pem_file(self, hostname: str) -> Optional[str]:
227 pem_file = super().get_ca_pem_file(hostname)

Callers 15

_class_scopeMethod · 0.80
_class_scopeMethod · 0.80
_class_scopeMethod · 0.80
_class_scopeMethod · 0.80
_class_scopeMethod · 0.80
_class_scopeMethod · 0.80
_class_scopeMethod · 0.80
_class_scopeMethod · 0.80
_class_scopeMethod · 0.80
_class_scopeMethod · 0.80
_class_scopeMethod · 0.80
_class_scopeMethod · 0.80

Calls 1

is_liveMethod · 0.80

Tested by 15

_class_scopeMethod · 0.64
_class_scopeMethod · 0.64
_class_scopeMethod · 0.64
_class_scopeMethod · 0.64
_class_scopeMethod · 0.64
_class_scopeMethod · 0.64
_class_scopeMethod · 0.64
_class_scopeMethod · 0.64
_class_scopeMethod · 0.64
_class_scopeMethod · 0.64
_class_scopeMethod · 0.64
_class_scopeMethod · 0.64