mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-14 18:11:43 -07:00
Normalize bools in tests (#5996)
* Normalize bools in tests. * Fix typo.
This commit is contained in:
parent
4c4ef80ca9
commit
24efe9ee9a
182 changed files with 770 additions and 770 deletions
|
@ -22,8 +22,8 @@
|
|||
copy:
|
||||
content: "{{ xmlresponse.xmlstring }}\n"
|
||||
dest: '/tmp/test-pretty-print-only.xml'
|
||||
check_mode: yes
|
||||
diff: yes
|
||||
check_mode: true
|
||||
diff: true
|
||||
register: comparison
|
||||
|
||||
- name: Test expected result
|
||||
|
@ -38,15 +38,15 @@
|
|||
- name: Read from xmlstring (using pretty_print)
|
||||
xml:
|
||||
xmlstring: "{{ lookup('file', '{{ role_path }}/fixtures/ansible-xml-beers.xml') }}"
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
register: xmlresponse
|
||||
|
||||
- name: Compare to expected result
|
||||
copy:
|
||||
content: '{{ xmlresponse.xmlstring }}'
|
||||
dest: '/tmp/test-pretty-print-only.xml'
|
||||
check_mode: yes
|
||||
diff: yes
|
||||
check_mode: true
|
||||
diff: true
|
||||
register: comparison
|
||||
|
||||
# FIXME: This change is related to the newline added by pretty_print
|
||||
|
@ -63,7 +63,7 @@
|
|||
xml:
|
||||
xmlstring: "{{ lookup('file', '{{ role_path }}/fixtures/ansible-xml-beers.xml') }}"
|
||||
xpath: /business/beers
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
add_children:
|
||||
- beer: Old Rasputin
|
||||
register: xmlresponse_modification
|
||||
|
@ -72,8 +72,8 @@
|
|||
copy:
|
||||
content: '{{ xmlresponse_modification.xmlstring }}'
|
||||
dest: '/tmp/test-pretty-print.xml'
|
||||
check_mode: yes
|
||||
diff: yes
|
||||
check_mode: true
|
||||
diff: true
|
||||
register: comparison
|
||||
|
||||
# FIXME: This change is related to the newline added by pretty_print
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue