mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 17:01:56 +02:00
Fix code formatting
This commit is contained in:
parent
d3a285b5d8
commit
e1ba194647
2 changed files with 4 additions and 4 deletions
|
@ -469,7 +469,9 @@ class DomainApplication(TimeStampedModel):
|
|||
nothing.
|
||||
"""
|
||||
if self.submitter is None or self.submitter.email is None:
|
||||
logger.warning("Cannot send confirmation email, no submitter email address.")
|
||||
logger.warning(
|
||||
"Cannot send confirmation email, no submitter email address."
|
||||
)
|
||||
return
|
||||
try:
|
||||
send_templated_email(
|
||||
|
|
|
@ -549,9 +549,7 @@ class DomainApplicationTests(TestWithUser, WebTest):
|
|||
# the post request should return a redirect to the contact
|
||||
# question
|
||||
self.assertEqual(election_result.status_code, 302)
|
||||
self.assertEqual(
|
||||
election_result["Location"], "/register/organization_contact/"
|
||||
)
|
||||
self.assertEqual(election_result["Location"], "/register/organization_contact/")
|
||||
self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id)
|
||||
contact_page = election_result.follow()
|
||||
self.assertNotContains(contact_page, "Federal agency")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue