Skip to content

Commit 1289689

Browse files
authored
Update expected error messages in tests
1 parent 9fef0f6 commit 1289689

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_fields.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,8 +1245,8 @@ class TestMinMaxDecimalField(FieldValues):
12451245
'20.0': Decimal('20.0'),
12461246
}
12471247
invalid_inputs = {
1248-
'9.9': ['Ensure this value is greater than or equal to 10.'],
1249-
'20.1': ['Ensure this value is less than or equal to 20.'],
1248+
'9.9': ['Ensure this value is greater than or equal to 10.0.'],
1249+
'20.1': ['Ensure this value is less than or equal to 20.0.'],
12501250
}
12511251
outputs = {}
12521252
field = serializers.DecimalField(

0 commit comments

Comments
 (0)