mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 06:24:45 +02:00
Fix reformatting
This commit is contained in:
parent
193ba93959
commit
84ea4920a0
3 changed files with 3 additions and 7 deletions
|
@ -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.")
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue