mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
cleanup renewer defaults (#9274)
This commit is contained in:
parent
7a2c26fd22
commit
df982b33b9
2 changed files with 1 additions and 6 deletions
|
|
@ -151,13 +151,9 @@ DEFAULT_LOGGING_LEVEL = logging.WARNING
|
|||
"""Default logging level to use when not in quiet mode."""
|
||||
|
||||
RENEWER_DEFAULTS = {
|
||||
"renewer_enabled": "yes",
|
||||
"renew_before_expiry": "30 days",
|
||||
# This value should ensure that there is never a deployment delay by
|
||||
# default.
|
||||
"deploy_before_expiry": "99 years",
|
||||
}
|
||||
"""Defaults for renewer script."""
|
||||
"""Defaults for `certbot renew`."""
|
||||
|
||||
ARCHIVE_DIR = "archive"
|
||||
"""Archive directory, relative to `certbot.configuration.NamespaceConfig.config_dir`."""
|
||||
|
|
|
|||
|
|
@ -461,7 +461,6 @@ class RenewableCertTests(BaseRenewableCertTest):
|
|||
]:
|
||||
sometime = datetime.datetime.utcfromtimestamp(current_time)
|
||||
mock_datetime.datetime.utcnow.return_value = sometime
|
||||
self.test_rc.configuration["deploy_before_expiry"] = interval
|
||||
self.test_rc.configuration["renew_before_expiry"] = interval
|
||||
self.assertEqual(self.test_rc.should_autorenew(), result)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue