mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 02:49:21 +02:00
Update test_transition_domain_migrations.py
This commit is contained in:
parent
493edd3834
commit
0933a260b9
1 changed files with 2 additions and 2 deletions
|
@ -1019,7 +1019,7 @@ class TestMigrations(TestCase):
|
||||||
expected_missing_domain_informations,
|
expected_missing_domain_informations,
|
||||||
expected_missing_domain_invitations,
|
expected_missing_domain_invitations,
|
||||||
)
|
)
|
||||||
|
|
||||||
@boto3_mocking.patching
|
@boto3_mocking.patching
|
||||||
def test_send_domain_invitations_email(self):
|
def test_send_domain_invitations_email(self):
|
||||||
"""Can send only a single domain invitation email."""
|
"""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
|
# this is one of the email addresses in data/test_contacts.txt
|
||||||
output_stream = StringIO()
|
output_stream = StringIO()
|
||||||
|
|
||||||
mock_client = MagicMock()
|
mock_client = MagicMock()
|
||||||
with boto3_mocking.clients.handler_for("sesv2", mock_client):
|
with boto3_mocking.clients.handler_for("sesv2", mock_client):
|
||||||
# also have to re-point the logging handlers to output_stream
|
# also have to re-point the logging handlers to output_stream
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue