mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
[PR #5996/24efe9ee backport][stable-6] Normalize bools in tests (#5997)
Normalize bools in tests (#5996)
* Normalize bools in tests.
* Fix typo.
(cherry picked from commit 24efe9ee9a)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -18,7 +18,7 @@ options:
|
||||
a:
|
||||
description: aaaa
|
||||
type: int
|
||||
required: yes
|
||||
required: true
|
||||
b:
|
||||
description: bbbb
|
||||
type: str
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
- name: test failing dependency
|
||||
mdepfail:
|
||||
a: 123
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
register: result
|
||||
|
||||
- name: assert failing dependency
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
- name: test msimple 2
|
||||
msimple:
|
||||
a: 101
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
register: simple2
|
||||
|
||||
- name: assert simple2
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
msimple:
|
||||
a: 101
|
||||
m: a message in a bottle
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
register: simple3
|
||||
|
||||
- name: assert simple3
|
||||
|
||||
Reference in New Issue
Block a user