aboutsummaryrefslogtreecommitdiff
path: root/cros_utils/email_sender_unittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'cros_utils/email_sender_unittest.py')
-rwxr-xr-xcros_utils/email_sender_unittest.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/cros_utils/email_sender_unittest.py b/cros_utils/email_sender_unittest.py
index ae41f143..73492196 100755
--- a/cros_utils/email_sender_unittest.py
+++ b/cros_utils/email_sender_unittest.py
@@ -69,7 +69,7 @@ class Test(unittest.TestCase):
'subject': 'foo',
'identifier': 'foo',
# non-list recipients
- 'well_known_recipients': 'detective',
+ 'well_known_recipients': 'sheriff',
'text_body': 'hi',
},
]
@@ -89,8 +89,8 @@ class Test(unittest.TestCase):
def actual_write_file(file_path):
nonlocal written_obj
- self.assertTrue(file_path.startswith(email_sender.X20_PATH + '/'),
- file_path)
+ self.assertTrue(
+ file_path.startswith(email_sender.X20_PATH + '/'), file_path)
f = io.StringIO()
yield f
written_obj = json.loads(f.getvalue())
@@ -99,7 +99,7 @@ class Test(unittest.TestCase):
email_sender.EmailSender().SendX20Email(
subject='hello',
identifier='world',
- well_known_recipients=['detective'],
+ well_known_recipients=['sheriff'],
direct_recipients=['gbiv@google.com'],
text_body='text',
html_body='html',
@@ -109,7 +109,7 @@ class Test(unittest.TestCase):
written_obj, {
'subject': 'hello',
'email_identifier': 'world',
- 'well_known_recipients': ['detective'],
+ 'well_known_recipients': ['sheriff'],
'direct_recipients': ['gbiv@google.com'],
'body': 'text',
'html_body': 'html',