diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-15 21:46:53 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-15 21:46:53 +0000 |
commit | f17a03afeb2feac54dcbcf6b66cf3b582c3d144f (patch) | |
tree | 73936aba47fe1dc71e9cc05af9747036e935608c /cros_utils/email_sender_unittest.py | |
parent | fb05c036ea3bc0ffc7e7e530c04b0d9a066312cf (diff) | |
parent | 4e4201457e5f51a132101c611c79ccff9f713c8b (diff) | |
download | toolchain-utils-android12-mainline-tzdata3-release.tar.gz |
Snap for 8730993 from 4e4201457e5f51a132101c611c79ccff9f713c8b to mainline-tzdata3-releaseaml_tz3_314012070aml_tz3_314012050aml_tz3_314012010aml_tz3_313110000aml_tz3_312511020aml_tz3_312511010aml_tz3_312410020aml_tz3_312410010android12-mainline-tzdata3-releaseaml_tz3_314012010
Change-Id: I8c7d4dd2dae5ae34360857d359ae3a52d87c17f0
Diffstat (limited to 'cros_utils/email_sender_unittest.py')
-rwxr-xr-x | cros_utils/email_sender_unittest.py | 10 |
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', |