This commit is contained in:
zandercymatics 2023-12-14 12:39:11 -07:00
parent 74161a86ee
commit ceec0a1efd
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1417,27 +1417,25 @@ class TestDomainManagers(TestDomainOverview):
add_page.form.submit() add_page.form.submit()
expected_email_content = { expected_email_content = {
'Simple': { "Simple": {
'Subject': { "Subject": {"Data": "Youve been added to a .gov domain"},
'Data': 'Youve been added to a .gov domain' "Body": {
}, "Text": {
'Body': { "Data": "\nHi.\n\nFirst Last has added you as a manager on igorville.gov.\n\n"
'Text': { "YOU NEED A LOGIN.GOV ACCOUNT\nYoull need a Login.gov account to manage your .gov domain. "
'Data': '\nHi.\n\nFirst Last has added you as a manager on igorville.gov.\n\n' "Login.gov provides\na simple and secure process for signing into many government services with "
'YOU NEED A LOGIN.GOV ACCOUNT\nYoull need a Login.gov account to manage your .gov domain. ' "one\naccount. If you dont already have one, follow these steps to create your\nLogin.gov "
'Login.gov provides\na simple and secure process for signing into many government services with ' "account <https://login.gov/help/get-started/create-your-account/>.\n\nDOMAIN MANAGEMENT\nAs a "
'one\naccount. If you dont already have one, follow these steps to create your\nLogin.gov ' ".gov domain manager you can add or update information about your domain.\nYoull also serve as "
'account <https://login.gov/help/get-started/create-your-account/>.\n\nDOMAIN MANAGEMENT\nAs a ' "a contact for your .gov domain. Please keep your contact\ninformation updated. "
'.gov domain manager you can add or update information about your domain.\nYoull also serve as ' "Learn more about domain management <https://get.gov/help/>.\n\nSOMETHING WRONG?\nIf youre not "
'a contact for your .gov domain. Please keep your contact\ninformation updated. ' "affiliated with igorville.gov or think you received this\nmessage in error, contact the "
'Learn more about domain management <https://get.gov/help/>.\n\nSOMETHING WRONG?\nIf youre not ' ".gov team <https://get.gov/help/#contact-us>.\n\n\nTHANK YOU\n\n.Gov helps the public identify "
'affiliated with igorville.gov or think you received this\nmessage in error, contact the ' "official, trusted information. "
'.gov team <https://get.gov/help/#contact-us>.\n\n\nTHANK YOU\n\n.Gov helps the public identify ' "Thank you for\nusing a .gov domain.\n\n-------------------------------------------------------"
'official, trusted information. ' "---------\n\nThe .gov team\nContact us: <https://get.gov/contact/>\nVisit <https://get.gov>\n"
'Thank you for\nusing a .gov domain.\n\n-------------------------------------------------------'
'---------\n\nThe .gov team\nContact us: <https://get.gov/contact/>\nVisit <https://get.gov>\n'
} }
} },
} }
} }
# check the mock instance to see if `send_email` was called right # check the mock instance to see if `send_email` was called right