Merge "std.email action requires a smtp_password"

This commit is contained in:
Jenkins 2016-12-08 10:42:53 +00:00 committed by Gerrit Code Review
commit 7a39597c6a
2 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ class MistralHTTPAction(HTTPAction):
class SendEmailAction(base.Action):
def __init__(self, from_addr, to_addrs, smtp_server,
smtp_password, subject=None, body=None):
smtp_password=None, subject=None, body=None):
# TODO(dzimine): validate parameters
# Task invocation parameters.

View File

@ -32,7 +32,7 @@ class ActionManagerTest(base.DbTestCase):
std_email_input = (
"from_addr, to_addrs, smtp_server, "
"smtp_password, subject=null, body=null"
"smtp_password=null, subject=null, body=null"
)
self.assertEqual(std_email_input, std_email.input)