Update test_transition_domain_migrations.py

This commit is contained in:
zandercymatics 2023-12-21 12:43:27 -07:00
parent 493edd3834
commit 0933a260b9
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1019,7 +1019,7 @@ class TestMigrations(TestCase):
expected_missing_domain_informations,
expected_missing_domain_invitations,
)
@boto3_mocking.patching
def test_send_domain_invitations_email(self):
"""Can send only a single domain invitation email."""
@ -1029,7 +1029,7 @@ class TestMigrations(TestCase):
# this is one of the email addresses in data/test_contacts.txt
output_stream = StringIO()
mock_client = MagicMock()
with boto3_mocking.clients.handler_for("sesv2", mock_client):
# also have to re-point the logging handlers to output_stream