File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ def test_serialization_error_message_for_incorrect_date_string():
113
113
"""
114
114
result = execute_mutation ("2021-13-01" )
115
115
assert result .errors
116
- assert result .errors [0 ].message == (
116
+ assert result .errors [0 ].message . startswith (
117
117
"Variable '$value' got invalid value '2021-13-01'; Value cannot represent a "
118
118
'Date: "2021-13-01". month must be in 1..12'
119
119
)
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ def test_serialization_error_message_for_incorrect_time_string():
112
112
"""
113
113
result = execute_mutation ("25:00" )
114
114
assert result .errors
115
- assert result .errors [0 ].message == (
115
+ assert result .errors [0 ].message . startswith (
116
116
"Variable '$value' got invalid value '25:00'; Value cannot represent a "
117
117
'Time: "25:00". hour must be in 0..23'
118
118
)
You can’t perform that action at this time.
0 commit comments