This commit is contained in:
rachidatecs 2023-07-14 16:25:46 -04:00
parent 9985125a0a
commit 92b1b0c261
No known key found for this signature in database
GPG key ID: 3CEBBFA7325E5525

View file

@ -191,7 +191,10 @@ class TestDomainApplicationAdmin(TestCase):
email_body = email_content["Simple"]["Body"]["Text"]["Data"] email_body = email_content["Simple"]["Body"]["Text"]["Data"]
# Assert or perform other checks on the email details # Assert or perform other checks on the email details
expected_string = "Your .gov domain request requires a follow-up action to help with our review." expected_string = (
"Your .gov domain request requires a follow-up action "
"to help with our review."
)
self.assertEqual(from_email, settings.DEFAULT_FROM_EMAIL) self.assertEqual(from_email, settings.DEFAULT_FROM_EMAIL)
self.assertEqual(to_email, EMAIL) self.assertEqual(to_email, EMAIL)
self.assertIn(expected_string, email_body) self.assertIn(expected_string, email_body)