mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
Explicit dependency on a log output
This commit is contained in:
parent
8892f23267
commit
bd610e4057
2 changed files with 4 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ def test_it(request):
|
|||
|
||||
with open(log_path) as file_h:
|
||||
data = file_h.read()
|
||||
assert 'DEBUG:certbot._internal.renewal:no renewal failures' in data, 'Renew task did not execute properly.'
|
||||
assert 'no renewal failures' in data, 'Renew task did not execute properly.'
|
||||
|
||||
finally:
|
||||
# Sadly this command cannot work in non interactive mode: uninstaller will ask explicitly permission in an UAC prompt
|
||||
|
|
|
|||
|
|
@ -471,4 +471,7 @@ def handle_renewal_request(config):
|
|||
if renew_failures or parse_failures:
|
||||
raise errors.Error("{0} renew failure(s), {1} parse failure(s)".format(
|
||||
len(renew_failures), len(parse_failures)))
|
||||
|
||||
# Windows installer integration tests rely on handle_renewal_request behavior here.
|
||||
# If the text below changes, these tests will need to be updated accordingly.
|
||||
logger.debug("no renewal failures")
|
||||
|
|
|
|||
Loading…
Reference in a new issue