mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
disable lint and remove new from language asking about running a deploy hook
This commit is contained in:
parent
4336547979
commit
0ab42fd3c2
3 changed files with 7 additions and 2 deletions
|
|
@ -1736,8 +1736,8 @@ def reconfigure(config: configuration.NamespaceConfig,
|
|||
|
||||
# figure this out before we modify config
|
||||
if config.deploy_hook and not config.run_deploy_hook:
|
||||
msg = ("You are attempting to set a new --deploy-hook. Would you like Certbot to run the "
|
||||
"new hook when it performs a dry run with the new settings? This will run all "
|
||||
msg = ("You are attempting to set a --deploy-hook. Would you like Certbot to run the "
|
||||
"hook when it performs a dry run with the new settings? This will run all "
|
||||
"relevant deploy hooks, including directory hooks, unless --no-directory-hooks "
|
||||
"is set. This will use the current active certificate, and not the temporary test "
|
||||
"certificate acquired during the dry run.")
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ README = "README"
|
|||
CURRENT_VERSION = pkg_resources.parse_version(certbot.__version__)
|
||||
BASE_PRIVKEY_MODE = 0o600
|
||||
|
||||
# pylint: disable=too-many-lines
|
||||
|
||||
|
||||
def renewal_conf_files(config: configuration.NamespaceConfig) -> List[str]:
|
||||
"""Build a list of all renewal configuration files.
|
||||
|
|
|
|||
|
|
@ -651,6 +651,9 @@ class ReconfigureTest(test_util.TempDirTestCase):
|
|||
new_config = configobj.ConfigObj(f, encoding='utf-8', default_encoding='utf-8')
|
||||
self.assertEqual(new_config['renewalparams']['authenticator'], 'nginx')
|
||||
|
||||
def test_report_results(self):
|
||||
pass
|
||||
|
||||
|
||||
class DeleteIfAppropriateTest(test_util.ConfigTestCase):
|
||||
"""Tests for certbot._internal.main._delete_if_appropriate """
|
||||
|
|
|
|||
Loading…
Reference in a new issue