Update test name.

Signed-off-by: James Tanner <tanner.jc@gmail.com>
This commit is contained in:
James Tanner 2024-03-19 15:54:22 -04:00
parent f1c615ecd6
commit dedfa01cb3
No known key found for this signature in database
GPG Key ID: EB4645E850012701

View File

@ -215,7 +215,7 @@ class TestValidationErrorWithDjangoStyle(TestCase):
raise ValidationError(errors)
def test_validation_error_without_params_date_formatters(self):
"""Ensure that substitutable errors can be emitted without params."""
"""Ensure that substitutable errors can be emitted with invalid template placeholders."""
# mimic the logic in fields.Field.run_validators by saving the exception
# detail into a list which will then be the detail for a new ValidationError.