Fix linting and tets

This commit is contained in:
Rebecca Hsieh 2023-09-06 16:40:57 -07:00
parent 696941aba7
commit 34a2f39fdf
No known key found for this signature in database
GPG key ID: 644527A2F375A379
8 changed files with 35 additions and 73 deletions

View file

@ -309,6 +309,7 @@ class OrganizationContactForm(RegistrarForm):
)
return federal_agency
class AboutYourOrganizationForm(RegistrarForm):
about_your_organization = forms.CharField(
label="About your organization",
@ -319,12 +320,14 @@ class AboutYourOrganizationForm(RegistrarForm):
message="Response must be less than 1000 characters.",
)
],
# TODO-446: Confirm if this error message wording is ok, prev was "Enter the type of work your organization does."
# TODO-446: Confirm if err msg wording is ok, previously
# TODO-446: "Enter the type of work your organization does."
error_messages={
"required": ("Enter information about your organization.")
"required": ("Enter the information about your organization.")
},
)
class AuthorizingOfficialForm(RegistrarForm):
def to_database(self, obj):
if not self.is_valid():