mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 06:24:45 +02:00
Fix linting errors
This commit is contained in:
parent
1211ba163d
commit
2abffa1541
2 changed files with 15 additions and 7 deletions
|
@ -143,7 +143,9 @@ class FormTests(TestWithUser, WebTest):
|
||||||
federal_result = federal_form.submit()
|
federal_result = federal_form.submit()
|
||||||
|
|
||||||
self.assertEquals(federal_result.status_code, 302)
|
self.assertEquals(federal_result.status_code, 302)
|
||||||
self.assertEquals(federal_result["Location"], "/register/organization_election/")
|
self.assertEquals(
|
||||||
|
federal_result["Location"], "/register/organization_election/"
|
||||||
|
)
|
||||||
|
|
||||||
# ---- ELECTION BOARD BRANCH PAGE ----
|
# ---- ELECTION BOARD BRANCH PAGE ----
|
||||||
# Follow the redirect to the next form page
|
# Follow the redirect to the next form page
|
||||||
|
@ -155,7 +157,9 @@ class FormTests(TestWithUser, WebTest):
|
||||||
election_result = election_form.submit()
|
election_result = election_form.submit()
|
||||||
|
|
||||||
self.assertEquals(election_result.status_code, 302)
|
self.assertEquals(election_result.status_code, 302)
|
||||||
self.assertEquals(election_result["Location"], "/register/organization_contact/")
|
self.assertEquals(
|
||||||
|
election_result["Location"], "/register/organization_contact/"
|
||||||
|
)
|
||||||
|
|
||||||
# ---- ORG CONTACT PAGE ----
|
# ---- ORG CONTACT PAGE ----
|
||||||
# Follow the redirect to the next form page
|
# Follow the redirect to the next form page
|
||||||
|
@ -170,7 +174,9 @@ class FormTests(TestWithUser, WebTest):
|
||||||
org_contact_result = org_contact_form.submit()
|
org_contact_result = org_contact_form.submit()
|
||||||
|
|
||||||
self.assertEquals(org_contact_result.status_code, 302)
|
self.assertEquals(org_contact_result.status_code, 302)
|
||||||
self.assertEquals(org_contact_result["Location"], "/register/authorizing_official/")
|
self.assertEquals(
|
||||||
|
org_contact_result["Location"], "/register/authorizing_official/"
|
||||||
|
)
|
||||||
# ---- AUTHORIZING OFFICIAL PAGE ----
|
# ---- AUTHORIZING OFFICIAL PAGE ----
|
||||||
# Follow the redirect to the next form page
|
# Follow the redirect to the next form page
|
||||||
ao_page = org_contact_result.follow()
|
ao_page = org_contact_result.follow()
|
||||||
|
@ -255,7 +261,9 @@ class FormTests(TestWithUser, WebTest):
|
||||||
other_contacts_result = other_contacts_form.submit()
|
other_contacts_result = other_contacts_form.submit()
|
||||||
|
|
||||||
self.assertEquals(other_contacts_result.status_code, 302)
|
self.assertEquals(other_contacts_result.status_code, 302)
|
||||||
self.assertEquals(other_contacts_result["Location"], "/register/security_email/")
|
self.assertEquals(
|
||||||
|
other_contacts_result["Location"], "/register/security_email/"
|
||||||
|
)
|
||||||
|
|
||||||
# ---- SECURITY EMAIL PAGE ----
|
# ---- SECURITY EMAIL PAGE ----
|
||||||
# Follow the redirect to the next form page
|
# Follow the redirect to the next form page
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue