mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 09:46:06 +02:00
lint
This commit is contained in:
parent
efc800a3bf
commit
809c752397
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ from django.contrib.auth import get_user_model
|
|||
from registrar.models import Contact, DraftDomain, Website, DomainApplication, User
|
||||
|
||||
from django.conf import settings
|
||||
from unittest.mock import MagicMock, ANY
|
||||
from unittest.mock import MagicMock
|
||||
import boto3_mocking # type: ignore
|
||||
|
||||
|
||||
|
@ -116,7 +116,7 @@ class TestDomainApplicationAdmin(TestCase):
|
|||
from_email = kwargs.get("FromEmailAddress")
|
||||
to_email = kwargs["Destination"]["ToAddresses"][0]
|
||||
email_content = kwargs["Content"]
|
||||
email_body = email_content['Simple']['Body']['Text']['Data']
|
||||
email_body = email_content["Simple"]["Body"]["Text"]["Data"]
|
||||
|
||||
# Assert or perform other checks on the email details
|
||||
expected_string = "Your .gov domain request is being reviewed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue