mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 18:56:15 +02:00
Fix linting
This commit is contained in:
parent
56ba1720bb
commit
7a6dbef2b2
2 changed files with 9 additions and 3 deletions
|
@ -4,6 +4,8 @@ from __future__ import annotations # allows forward references in annotations
|
|||
|
||||
import logging
|
||||
|
||||
from typing import Union
|
||||
|
||||
from django import forms
|
||||
from django.shortcuts import render
|
||||
|
||||
|
@ -94,7 +96,10 @@ class OrganizationContactForm(RegistrarForm):
|
|||
"Advisory Council on Historic Preservation",
|
||||
"American Battle Monuments Commission",
|
||||
"Appalachian Regional Commission",
|
||||
"Appraisal Subcommittee of the Federal Financial Institutions Examination Council",
|
||||
(
|
||||
"Appraisal Subcommittee of the Federal Financial "
|
||||
"Institutions Examination Council"
|
||||
),
|
||||
"Armed Forces Retirement Home",
|
||||
"Barry Goldwater Scholarship and Excellence in Education Program",
|
||||
"Central Intelligence Agency",
|
||||
|
|
|
@ -397,8 +397,9 @@ class FormTests(TestWithUser, WebTest):
|
|||
# the post request should return a redirect to the contact
|
||||
# question
|
||||
self.assertEquals(election_result.status_code, 302)
|
||||
self.assertEquals(election_result["Location"], "/register/organization_contact/")
|
||||
self.assertEquals(
|
||||
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, "Top level federal agency")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue