diff --git a/src/registrar/forms/application_wizard.py b/src/registrar/forms/application_wizard.py index 6059d1a6f..0db16c401 100644 --- a/src/registrar/forms/application_wizard.py +++ b/src/registrar/forms/application_wizard.py @@ -166,7 +166,9 @@ class TypeOfWorkForm(RegistrarForm): ) more_organization_information = forms.CharField( - label="Describe how your organization is a government organization that is independent of a state government. Include links to authorizing legislation, applicable bylaws or charter, or other documentation to support your claims.", + label="Describe how your organization is a government organization that is " + "independent of a state government. Include links to authorizing legislation, " + "applicable bylaws or charter, or other documentation to support your claims.", widget=forms.Textarea(), ) diff --git a/src/registrar/tests/test_views.py b/src/registrar/tests/test_views.py index d6e4f5035..2693655d9 100644 --- a/src/registrar/tests/test_views.py +++ b/src/registrar/tests/test_views.py @@ -670,7 +670,9 @@ class DomainApplicationTests(TestWithUser, WebTest): session_id = self.app.cookies[settings.SESSION_COOKIE_NAME] type_form = type_page.form - type_form["organization_type-organization_type"] = DomainApplication.OrganizationChoices.INTERSTATE + type_form[ + "organization_type-organization_type" + ] = DomainApplication.OrganizationChoices.INTERSTATE self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) type_result = type_page.form.submit() @@ -696,7 +698,6 @@ class DomainApplicationTests(TestWithUser, WebTest): self.assertEquals(contact_result.status_code, 302) self.assertEquals(contact_result["Location"], "/register/type_of_work/") - def test_application_type_of_work_special(self): """Special districts have to answer an additional question.""" type_page = self.app.get(reverse("application:")).follow() @@ -707,14 +708,16 @@ class DomainApplicationTests(TestWithUser, WebTest): session_id = self.app.cookies[settings.SESSION_COOKIE_NAME] type_form = type_page.form - type_form["organization_type-organization_type"] = DomainApplication.OrganizationChoices.SPECIAL_DISTRICT + type_form[ + "organization_type-organization_type" + ] = DomainApplication.OrganizationChoices.SPECIAL_DISTRICT self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) type_result = type_page.form.submit() # follow first redirect self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) contact_page = type_result.follow() - self.assertContains(contact_page, self.TITLES[Step.TYPE_OF_WORK]) + self.assertContains(contact_page, self.TITLES[Step.TYPE_OF_WORK]) def test_application_type_of_work_interstate(self): """Special districts have to answer an additional question.""" @@ -726,15 +729,16 @@ class DomainApplicationTests(TestWithUser, WebTest): session_id = self.app.cookies[settings.SESSION_COOKIE_NAME] type_form = type_page.form - type_form["organization_type-organization_type"] = DomainApplication.OrganizationChoices.INTERSTATE + type_form[ + "organization_type-organization_type" + ] = DomainApplication.OrganizationChoices.INTERSTATE self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) type_result = type_page.form.submit() # follow first redirect self.app.set_cookie(settings.SESSION_COOKIE_NAME, session_id) contact_page = type_result.follow() - self.assertContains(contact_page, self.TITLES[Step.TYPE_OF_WORK]) - + self.assertContains(contact_page, self.TITLES[Step.TYPE_OF_WORK]) @skip("WIP") def test_application_edit_restore(self):