From ced84119f7efedc2a70d328b4341e46a63c85d4c Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Tue, 2 Dec 2025 09:25:17 +0100 Subject: [PATCH] Fix `test_required_alias_and_validation_alias_by_name` test --- tests/test_request_params/test_body/test_required_str.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_request_params/test_body/test_required_str.py b/tests/test_request_params/test_body/test_required_str.py index ff7e3a216..f5faaaabf 100644 --- a/tests/test_request_params/test_body/test_required_str.py +++ b/tests/test_request_params/test_body/test_required_str.py @@ -452,7 +452,7 @@ def test_required_alias_and_validation_alias_by_name(path: str): "p_val_alias", # /required-alias-and-validation-alias fails here ], "msg": "Field required", - "input": {"p": "hello"}, + "input": IsOneOf(None, {"p": "hello"}), } ] }