@@ -244,7 +244,7 @@ def test_exception_handler_when_choice_invalid():
244244 assert response ["message" ] == "Validation error."
245245 assert response ["fields" ] == [
246246 {
247- "message" : "One or more values provided are not valid ." ,
247+ "message" : "Value is not a valid enumeration member; permitted: 'a', 'b', 'c' ." ,
248248 "name" : "kind" ,
249249 "error_code" : 400 ,
250250 }
@@ -262,7 +262,7 @@ def test_exception_handler_when_one_of_multi_choice_invalid():
262262 assert response ["message" ] == "Validation error."
263263 assert response ["fields" ] == [
264264 {
265- "message" : "One or more values provided are not valid ." ,
265+ "message" : "Value is not a valid enumeration member; permitted: 'a', 'b', 'c' ." ,
266266 "name" : "multi" ,
267267 "error_code" : 400 ,
268268 }
@@ -280,7 +280,7 @@ def test_exception_handler_when_choice_default_and_received_invalid():
280280 assert response ["message" ] == "Validation error."
281281 assert response ["fields" ] == [
282282 {
283- "message" : "One or more values provided are not valid ." ,
283+ "message" : "Value is not a valid enumeration member; permitted: 'a', 'b', 'c' ." ,
284284 "name" : "kind" ,
285285 "error_code" : 400 ,
286286 }
@@ -300,7 +300,7 @@ def test_exception_handler_when_choice_default_and_received_invalid():
300300 assert response ["message" ] == "Validation error."
301301 assert response ["fields" ] == [
302302 {
303- "message" : "One or more values provided are not valid ." ,
303+ "message" : "Value is not a valid enumeration member; permitted: 'a', 'b', 'c' ." ,
304304 "name" : "kind" ,
305305 "error_code" : 400 ,
306306 },
0 commit comments