Fixed test test_submission_confirmation_current_website_spacing

This commit is contained in:
Rachid Mrad 2024-01-12 15:55:56 -05:00
parent 0b503442a8
commit 9300b06d4c
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF

View file

@ -76,7 +76,7 @@ class TestEmails(TestCase):
body = kwargs["Content"]["Simple"]["Body"]["Text"]["Data"]
self.assertIn("Current websites:", body)
# spacing should be right between adjacent elements
self.assertRegex(body, r"5555\n\nCurrent website for")
self.assertRegex(body, r"5555\n\nCurrent websites for")
self.assertRegex(body, r"city.com\n\n.gov domain:")
@boto3_mocking.patching