mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +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:
@@ -68,7 +68,7 @@
|
||||
read_csv:
|
||||
path: users_nonunique.csv
|
||||
key: name
|
||||
unique: no
|
||||
unique: false
|
||||
delimiter: ';'
|
||||
register: users_nonunique
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
path: users_nonunique.csv
|
||||
dialect: placebo
|
||||
register: users_placebo
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- assert:
|
||||
that:
|
||||
@@ -140,9 +140,9 @@
|
||||
read_csv:
|
||||
path: users_broken.csv
|
||||
key: name
|
||||
strict: yes
|
||||
strict: true
|
||||
register: users_broken
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
||||
Reference in New Issue
Block a user