mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 04:58:42 +02:00
Linting
This commit is contained in:
parent
74161a86ee
commit
ceec0a1efd
1 changed files with 19 additions and 21 deletions
|
@ -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": "You’ve been added to a .gov domain"},
|
||||||
'Data': 'You’ve been added to a .gov domain'
|
"Body": {
|
||||||
|
"Text": {
|
||||||
|
"Data": "\nHi.\n\nFirst Last has added you as a manager on igorville.gov.\n\n"
|
||||||
|
"YOU NEED A LOGIN.GOV ACCOUNT\nYou’ll need a Login.gov account to manage your .gov domain. "
|
||||||
|
"Login.gov provides\na simple and secure process for signing into many government services with "
|
||||||
|
"one\naccount. If you don’t already have one, follow these steps to create your\nLogin.gov "
|
||||||
|
"account <https://login.gov/help/get-started/create-your-account/>.\n\nDOMAIN MANAGEMENT\nAs a "
|
||||||
|
".gov domain manager you can add or update information about your domain.\nYou’ll also serve as "
|
||||||
|
"a contact for your .gov domain. Please keep your contact\ninformation updated. "
|
||||||
|
"Learn more about domain management <https://get.gov/help/>.\n\nSOMETHING WRONG?\nIf you’re not "
|
||||||
|
"affiliated with igorville.gov or think you received this\nmessage in error, contact the "
|
||||||
|
".gov team <https://get.gov/help/#contact-us>.\n\n\nTHANK YOU\n\n.Gov helps the public identify "
|
||||||
|
"official, trusted information. "
|
||||||
|
"Thank you for\nusing a .gov domain.\n\n-------------------------------------------------------"
|
||||||
|
"---------\n\nThe .gov team\nContact us: <https://get.gov/contact/>\nVisit <https://get.gov>\n"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
'Body': {
|
|
||||||
'Text': {
|
|
||||||
'Data': '\nHi.\n\nFirst Last has added you as a manager on igorville.gov.\n\n'
|
|
||||||
'YOU NEED A LOGIN.GOV ACCOUNT\nYou’ll need a Login.gov account to manage your .gov domain. '
|
|
||||||
'Login.gov provides\na simple and secure process for signing into many government services with '
|
|
||||||
'one\naccount. If you don’t already have one, follow these steps to create your\nLogin.gov '
|
|
||||||
'account <https://login.gov/help/get-started/create-your-account/>.\n\nDOMAIN MANAGEMENT\nAs a '
|
|
||||||
'.gov domain manager you can add or update information about your domain.\nYou’ll also serve as '
|
|
||||||
'a contact for your .gov domain. Please keep your contact\ninformation updated. '
|
|
||||||
'Learn more about domain management <https://get.gov/help/>.\n\nSOMETHING WRONG?\nIf you’re not '
|
|
||||||
'affiliated with igorville.gov or think you received this\nmessage in error, contact the '
|
|
||||||
'.gov team <https://get.gov/help/#contact-us>.\n\n\nTHANK YOU\n\n.Gov helps the public identify '
|
|
||||||
'official, trusted information. '
|
|
||||||
'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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue