summarylogtreecommitdiffstats
path: root/0007-adapt-test_check_required_arguments_no_params-to-pyt.patch
blob: 2405d1369eb55ab4057d4221e15415e67afbd083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From dc27e5d2ae6274de9bdcfd5386df3c2dc97bfbfc Mon Sep 17 00:00:00 2001
From: nicolasyang <nicolasyang243@proton.me>
Date: Sat, 17 Jan 2026 21:00:24 +0800
Subject: [PATCH 7/7] adapt test_check_required_arguments_no_params to python
 3.14

---
 .../common/validation/test_check_required_arguments.py          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/units/module_utils/common/validation/test_check_required_arguments.py b/test/units/module_utils/common/validation/test_check_required_arguments.py
index eb3d52e2fc..f736b06c3f 100644
--- a/test/units/module_utils/common/validation/test_check_required_arguments.py
+++ b/test/units/module_utils/common/validation/test_check_required_arguments.py
@@ -85,4 +85,4 @@ def test_check_required_arguments_missing_none():
 def test_check_required_arguments_no_params(arguments_terms):
     with pytest.raises(TypeError) as te:
         check_required_arguments(arguments_terms, None)
-    assert "'NoneType' is not iterable" in to_native(te.value)
+    assert "'NoneType' is not a container or iterable" in to_native(te.value)
-- 
2.52.0