Merge "std.email action requires a smtp_password"
This commit is contained in:
commit
7a39597c6a
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user