updated test to reflect change in how other employees are displayed in email

This commit is contained in:
David Kennedy 2024-01-26 15:24:12 -05:00
parent 80fa188e7c
commit 04c3d4c711
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -104,7 +104,7 @@ class TestEmails(TestCase):
body = kwargs["Content"]["Simple"]["Body"]["Text"]["Data"]
self.assertNotIn("Other employees from your organization:", body)
# spacing should be right between adjacent elements
self.assertRegex(body, r"5556\n\nNo other employees")
self.assertRegex(body, r"5556\n\nOther employees")
self.assertRegex(body, r"None\n\nAnything else")
@boto3_mocking.patching