Browse Source

Update xfail reason msg

pull/14829/head
Yurii Motov 4 months ago
parent
commit
bfc09d9440
  1. 5
      tests/test_request_params/test_header/test_nullable_and_defaults.py

5
tests/test_request_params/test_header/test_nullable_and_defaults.py

@ -121,7 +121,10 @@ def test_nullable_required_schema(path: str):
pytest.param(
"/model-nullable-required",
marks=pytest.mark.xfail(
reason="With Header model fields use underscores in error locs for headers"
reason=(
"For parameters declared as model, underscores are not replaced "
"with hyphens in error loc"
)
),
),
],

Loading…
Cancel
Save