mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 23:04:39 -04:00
exclude static auth hints from coverage
This commit is contained in:
parent
92f223e0c9
commit
53151133af
3 changed files with 3 additions and 3 deletions
|
|
@ -2470,7 +2470,7 @@ class ApacheConfigurator(common.Installer):
|
|||
version=".".join(str(i) for i in self.version))
|
||||
)
|
||||
|
||||
def auth_hint(self, failed_achalls):
|
||||
def auth_hint(self, failed_achalls): # pragma: no cover
|
||||
return ("The Certificate Authority failed to verify the temporary Apache configuration "
|
||||
"changes made by the --apache plugin. Ensure that the above domains point to "
|
||||
"this Apache server and that it is accessible from the internet.")
|
||||
|
|
|
|||
|
|
@ -1029,7 +1029,7 @@ class NginxConfigurator(common.Installer):
|
|||
version=".".join(str(i) for i in self.version))
|
||||
)
|
||||
|
||||
def auth_hint(self, failed_achalls):
|
||||
def auth_hint(self, failed_achalls): # pragma: no cover
|
||||
return (
|
||||
"The Certificate Authority failed to verify the temporary nginx configuration changes "
|
||||
"made by the --nginx plugin. Ensure the above domains point to this nginx server and "
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ to serve all files under specified web root ({0})."""
|
|||
"file, it needs to be on a single line, like: webroot-map = "
|
||||
'{"example.com":"/var/www"}.')
|
||||
|
||||
def auth_hint(self, failed_achalls):
|
||||
def auth_hint(self, failed_achalls): # pragma: no cover
|
||||
return ("The Certificate Authority failed to download the temporary challenge files "
|
||||
"created by the --webroot plugin. Ensure that the above domains serve their "
|
||||
"content from the provided --webroot-path/-w and that files created there "
|
||||
|
|
|
|||
Loading…
Reference in a new issue