Fix reformatting

This commit is contained in:
Rebecca Hsieh 2023-09-07 09:46:32 -07:00
parent 193ba93959
commit 84ea4920a0
No known key found for this signature in database
GPG key ID: 644527A2F375A379
3 changed files with 3 additions and 7 deletions

View file

@ -322,9 +322,7 @@ class AboutYourOrganizationForm(RegistrarForm):
], ],
# TODO-446: Confirm if err msg wording is ok, previously # TODO-446: Confirm if err msg wording is ok, previously
# TODO-446: "Enter the type of work your organization does." # TODO-446: "Enter the type of work your organization does."
error_messages={ error_messages={"required": ("Enter the information about your organization.")},
"required": ("Enter the information about your organization.")
},
) )

View file

@ -151,8 +151,7 @@ class TestFormValidation(TestCase):
"""Response must be less than 1000 characters.""" """Response must be less than 1000 characters."""
form = AboutYourOrganizationForm( form = AboutYourOrganizationForm(
data={ data={
"about_your_organization": "about_your_organization": "Bacon ipsum dolor amet fatback strip steak pastrami"
"Bacon ipsum dolor amet fatback strip steak pastrami"
"shankle, drumstick doner chicken landjaeger turkey andouille." "shankle, drumstick doner chicken landjaeger turkey andouille."
"Buffalo biltong chuck pork chop tongue bresaola turkey. Doner" "Buffalo biltong chuck pork chop tongue bresaola turkey. Doner"
"ground round strip steak, jowl tail chuck ribeye bacon" "ground round strip steak, jowl tail chuck ribeye bacon"

View file

@ -664,8 +664,7 @@ class DomainApplicationTests(TestWithUser, WebTest):
# about your organization page if it was successful. # about your organization page if it was successful.
self.assertEqual(contact_result.status_code, 302) self.assertEqual(contact_result.status_code, 302)
self.assertEqual( self.assertEqual(
contact_result["Location"], contact_result["Location"], "/register/about_your_organization/"
"/register/about_your_organization/"
) )
def test_application_about_your_organization_special(self): def test_application_about_your_organization_special(self):