mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-04-16 07:02:10 +03:00
Update expected error messages in tests
This commit is contained in:
parent
9fef0f6926
commit
1289689f3b
|
@ -1245,8 +1245,8 @@ class TestMinMaxDecimalField(FieldValues):
|
|||
'20.0': Decimal('20.0'),
|
||||
}
|
||||
invalid_inputs = {
|
||||
'9.9': ['Ensure this value is greater than or equal to 10.'],
|
||||
'20.1': ['Ensure this value is less than or equal to 20.'],
|
||||
'9.9': ['Ensure this value is greater than or equal to 10.0.'],
|
||||
'20.1': ['Ensure this value is less than or equal to 20.0.'],
|
||||
}
|
||||
outputs = {}
|
||||
field = serializers.DecimalField(
|
||||
|
|
Loading…
Reference in New Issue
Block a user