mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 10:29:23 +02:00
lint
This commit is contained in:
parent
0641e9ad72
commit
204b907a54
2 changed files with 2 additions and 2 deletions
|
@ -1984,7 +1984,7 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
|||
if not custom_text:
|
||||
template_path = f"emails/action_needed_reasons/{action_needed_reason}.txt"
|
||||
else:
|
||||
template_path = f"emails/action_needed_reasons/custom_email.txt"
|
||||
template_path = "emails/action_needed_reasons/custom_email.txt"
|
||||
|
||||
template = get_template(template_path)
|
||||
|
||||
|
|
|
@ -1464,7 +1464,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
|||
)
|
||||
self.assertEqual(len(self.mock_client.EMAILS_SENT), 3)
|
||||
|
||||
# Test the email sent out for questionable_so
|
||||
# Test that a custom email is sent out for questionable_so
|
||||
questionable_so = DomainRequest.ActionNeededReasons.QUESTIONABLE_SENIOR_OFFICIAL
|
||||
self.transition_state_and_send_email(domain_request, action_needed, action_needed_reason=questionable_so)
|
||||
self.assert_email_is_accurate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue