mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
Update test_models.py
This commit is contained in:
parent
d95be51ebf
commit
86f520c3f6
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ class TestDomainRequest(TestCase):
|
|||
self, domain_request, msg, action, expected_count, expected_content=None, expected_email="mayor@igorville.com"
|
||||
):
|
||||
"""Check if an email was sent after performing an action."""
|
||||
email_allowed = AllowedEmail.objects.get_or_create(email=expected_email)
|
||||
email_allowed, _ = AllowedEmail.objects.get_or_create(email=expected_email)
|
||||
with self.subTest(msg=msg, action=action):
|
||||
with boto3_mocking.clients.handler_for("sesv2", self.mock_client):
|
||||
# Perform the specified action
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue