mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-16 11:12:21 +03:00
Update test name.
Signed-off-by: James Tanner <tanner.jc@gmail.com>
This commit is contained in:
parent
f1c615ecd6
commit
dedfa01cb3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user