mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 02:36:02 +02:00
lint
This commit is contained in:
parent
3e54bb1e59
commit
3fb9ab576b
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ class TestDomainRequest(TestCase):
|
||||||
"Create a domain request and reject it and see if email was sent."
|
"Create a domain request and reject it and see if email was sent."
|
||||||
user, _ = User.objects.get_or_create(username="testy")
|
user, _ = User.objects.get_or_create(username="testy")
|
||||||
domain_request = completed_domain_request(status=DomainRequest.DomainRequestStatus.APPROVED, user=user)
|
domain_request = completed_domain_request(status=DomainRequest.DomainRequestStatus.APPROVED, user=user)
|
||||||
expected_email=user.email
|
expected_email = user.email
|
||||||
email_allowed, _ = AllowedEmail.objects.get_or_create(email=expected_email)
|
email_allowed, _ = AllowedEmail.objects.get_or_create(email=expected_email)
|
||||||
with boto3_mocking.clients.handler_for("sesv2", self.mock_client):
|
with boto3_mocking.clients.handler_for("sesv2", self.mock_client):
|
||||||
domain_request.reject()
|
domain_request.reject()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue