build-bazel-package: added rm of extra local folders for toolchain configuration...
[NixPkgs.git] / pkgs / development / python-modules / connexion / 0001-Part-of-1992.patch
blob2f1386314cdf9c6c1ce75287b6391d2bddc57362
1 From 10c3d787cc9c7fb31c6cc7074e9ce00dfeb6bb85 Mon Sep 17 00:00:00 2001
2 From: wxt <3264117476@qq.com>
3 Date: Thu, 14 Nov 2024 16:16:17 +0800
4 Subject: [PATCH] Part of 1992
6 ---
7 tests/decorators/test_validation.py | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/tests/decorators/test_validation.py b/tests/decorators/test_validation.py
11 index bece403..d7e0984 100644
12 --- a/tests/decorators/test_validation.py
13 +++ b/tests/decorators/test_validation.py
14 @@ -78,7 +78,7 @@ def test_invalid_type(monkeypatch):
15 logger = MagicMock()
16 monkeypatch.setattr("connexion.validators.parameter.logger", logger)
17 result = ParameterValidator.validate_parameter(
18 - "formdata", 20, {"type": "string", "name": "foo"}
19 + "formdata", 20, {"name": "foo", "type": "string"}
21 expected_result = """20 is not of type 'string'
23 --
24 2.47.0