Take away confirmation screen for testing

This commit is contained in:
James Kasten
2015-09-25 20:04:34 -07:00
parent cfe103b4ed
commit add23360a5
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -241,8 +241,8 @@ def _treat_as_renewal(config, domains):
# We aren't in a duplicative-names situation at all, so we don't
# have to tell or ask the user anything about this.
pass
elif zope.component.getUtility(interfaces.IDisplay).yesno(
question, "Replace", "Cancel"):
elif config.no_confirm or zope.component.getUtility(
interfaces.IDisplay).yesno(question, "Replace", "Cancel"):
renewal = True
else:
reporter_util = zope.component.getUtility(interfaces.IReporter)
@@ -661,7 +661,7 @@ def create_parser(plugins, args):
help="show program's version number and exit")
helpful.add(
"automation", "--no-confirm", dest="no_confirm", action="store_true",
help="Turn off confirmation screens, currently used for --revoke")
help="Turn off confirmation screens, used for renewal screens")
helpful.add(
"automation", "--agree-eula", dest="eula", action="store_true",
help="Agree to the Let's Encrypt Developer Preview EULA")
+1
View File
@@ -23,6 +23,7 @@ letsencrypt_test () {
--agree-eula \
--agree-tos \
--email "" \
--no-confirm \
--debug \
-vvvvvvv \
"$@"