summaryrefslogtreecommitdiffstats
path: root/test/units
diff options
context:
space:
mode:
authorAbhijeet Kasurde <akasurde@redhat.com>2023-07-26 23:17:08 +0200
committerGitHub <noreply@github.com>2023-07-26 23:17:08 +0200
commit923ede4f727029edb2d4fbefa5a779e4ff238663 (patch)
treecf7bcd7ce063bc8df2893fb1d99f6845cccdea56 /test/units
parentFix ansible_pkg_mgr is unknown in Kylin Linux (#81314) (diff)
downloadansible-923ede4f727029edb2d4fbefa5a779e4ff238663.tar.xz
ansible-923ede4f727029edb2d4fbefa5a779e4ff238663.zip
pep8: fix sanity for 3.12 (#81348)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Diffstat (limited to 'test/units')
-rw-r--r--test/units/module_utils/basic/test_argument_spec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/module_utils/basic/test_argument_spec.py b/test/units/module_utils/basic/test_argument_spec.py
index 211d65a22f..5dbaf50c1c 100644
--- a/test/units/module_utils/basic/test_argument_spec.py
+++ b/test/units/module_utils/basic/test_argument_spec.py
@@ -453,7 +453,7 @@ class TestComplexOptions:
'bar1': None, 'bar2': None, 'bar3': None, 'bar4': None}]
),
# Check for elements in sub-options
- ({"foobar": [{"foo": "good", "bam": "required_one_of", "bar1": [1, "good", "yes"], "bar2": ['1', 1], "bar3":['1.3', 1.3, 1]}]},
+ ({"foobar": [{"foo": "good", "bam": "required_one_of", "bar1": [1, "good", "yes"], "bar2": ['1', 1], "bar3": ['1.3', 1.3, 1]}]},
[{'foo': 'good', 'bam1': None, 'bam2': 'test', 'bam3': None, 'bam4': None, 'bar': None, 'baz': None, 'bam': 'required_one_of',
'bar1': ["1", "good", "yes"], 'bar2': [1, 1], 'bar3': [1.3, 1.3, 1.0], 'bar4': None}]
),