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():
113113 """
114114 result = execute_mutation ("2021-13-01" )
115115 assert result .errors
116- assert result .errors [0 ].message == (
116+ assert result .errors [0 ].message . startswith (
117117 "Variable '$value' got invalid value '2021-13-01'; Value cannot represent a "
118118 'Date: "2021-13-01". month must be in 1..12'
119119 )
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ def test_serialization_error_message_for_incorrect_time_string():
112112 """
113113 result = execute_mutation ("25:00" )
114114 assert result .errors
115- assert result .errors [0 ].message == (
115+ assert result .errors [0 ].message . startswith (
116116 "Variable '$value' got invalid value '25:00'; Value cannot represent a "
117117 'Time: "25:00". hour must be in 0..23'
118118 )
You can’t perform that action at this time.
0 commit comments