diff --git a/src/registrar/forms/application_wizard.py b/src/registrar/forms/application_wizard.py index 15da5a2d4..504017fdd 100644 --- a/src/registrar/forms/application_wizard.py +++ b/src/registrar/forms/application_wizard.py @@ -281,7 +281,10 @@ class AnythingElseForm(RegistrarForm): class RequirementsForm(RegistrarForm): is_policy_acknowledged = forms.BooleanField( - label="I read and agree to the requirements for registering and operating .gov domains." + label=( + "I read and agree to the requirements for registering " + "and operating .gov domains." + ) ) diff --git a/src/registrar/models/domain_application.py b/src/registrar/models/domain_application.py index d498e44a5..4795d0195 100644 --- a/src/registrar/models/domain_application.py +++ b/src/registrar/models/domain_application.py @@ -93,7 +93,11 @@ class DomainApplication(TimeStampedModel): ARMED_FORCES_AP = "AP", "Armed Forces Pacific (AP)" class OrganizationChoices(models.TextChoices): - FEDERAL = "federal", "Federal: an agency of the U.S. government's executive, legislative, or judicial branches" + FEDERAL = ( + "federal", + "Federal: an agency of the U.S. government's executive, legislative, " + "or judicial branches", + ) INTERSTATE = "interstate", "Interstate: an organization of two or more states" STATE_OR_TERRITORY = "state_or_territory", ( "State or territory: one of the 50 U.S. states, the District of " @@ -108,6 +112,7 @@ class DomainApplication(TimeStampedModel): CITY = "city", "City: a city, town, township, village, etc." SPECIAL_DISTRICT = "special_district", ( "Special district: an independent organization within a single state" + ) SCHOOL_DISTRICT = "school_district", ( "School district: a school district that is not part of a local government" ) diff --git a/src/registrar/templates/application_org_type.html b/src/registrar/templates/application_org_type.html index 04fe192fe..3c2b19a25 100644 --- a/src/registrar/templates/application_org_type.html +++ b/src/registrar/templates/application_org_type.html @@ -13,8 +13,7 @@
-

What kind of U.S.-based government organization do you represent? -

+

What kind of U.S.-based government organization do you represent?

{{ wizard.form.organization_type.errors }} {% for choice in choices.values %} diff --git a/src/registrar/tests/test_views.py b/src/registrar/tests/test_views.py index 534cf4130..fe1dd3d51 100644 --- a/src/registrar/tests/test_views.py +++ b/src/registrar/tests/test_views.py @@ -85,7 +85,8 @@ class LoggedInTests(TestWithUser): def test_application_form_view(self): response = self.client.get("/register/", follow=True) self.assertContains( - response, "What kind of government organization do you represent?" + response, + "What kind of U.S.-based government organization do you represent?", ) @@ -111,7 +112,9 @@ class DomainApplicationTests(TestWithUser, WebTest): page = self.app.get(reverse("application")).follow() # submitting should get back the same page if the required field is empty result = page.form.submit() - self.assertIn("What kind of government organization do you represent?", result) + self.assertIn( + "What kind of U.S.-based government organization do you represent?", result + ) def test_application_form_submission(self): """Can fill out the entire form and submit.