Add a missing ., add unit tests for char limits

This commit is contained in:
rachidatecs 2023-05-11 11:08:24 -04:00
parent 4da408cf68
commit 5450ac97a5
No known key found for this signature in database
GPG key ID: 3CEBBFA7325E5525
2 changed files with 39 additions and 4 deletions

View file

@ -318,7 +318,7 @@ class TypeOfWorkForm(RegistrarForm):
validators=[
MaxLengthValidator(
1000,
message="Response must be less than 1000 characters",
message="Response must be less than 1000 characters.",
)
],
error_messages={"required": "Enter the type of work your organization does."},
@ -336,7 +336,7 @@ class TypeOfWorkForm(RegistrarForm):
validators=[
MaxLengthValidator(
1000,
message="Response must be less than 1000 characters",
message="Response must be less than 1000 characters.",
)
],
error_messages={
@ -569,7 +569,7 @@ class PurposeForm(RegistrarForm):
validators=[
MaxLengthValidator(
1000,
message="Response must be less than 1000 characters",
message="Response must be less than 1000 characters.",
)
],
error_messages={
@ -717,7 +717,7 @@ class AnythingElseForm(RegistrarForm):
validators=[
MaxLengthValidator(
1000,
message="Response must be less than 1000 characters",
message="Response must be less than 1000 characters.",
)
],
)