Update expected error messages in tests

This commit is contained in:
Bruno Alla 2024-09-06 18:55:03 +01:00 committed by GitHub
parent 9fef0f6926
commit 1289689f3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(