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
|
@ -57,28 +57,28 @@
|
|||
file: /tmp/ansible-xml-beers-implicit.xml
|
||||
xpath: /business/testnormalelement
|
||||
value: xml tag with no special characters
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
|
||||
- name: Add an element with dash
|
||||
xml:
|
||||
file: /tmp/ansible-xml-beers-implicit.xml
|
||||
xpath: /business/test-with-dash
|
||||
value: xml tag with dashes
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
|
||||
- name: Add an element with dot
|
||||
xml:
|
||||
file: /tmp/ansible-xml-beers-implicit.xml
|
||||
xpath: /business/test-with-dash.and.dot
|
||||
value: xml tag with dashes and dots
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
|
||||
- name: Add an element with underscore
|
||||
xml:
|
||||
file: /tmp/ansible-xml-beers-implicit.xml
|
||||
xpath: /business/test-with.dash_and.dot_and-underscores
|
||||
value: xml tag with dashes, dots and underscores
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
|
||||
- name: Add an attribute on a conditional element
|
||||
xml:
|
||||
|
@ -99,14 +99,14 @@
|
|||
- name: Pretty Print this!
|
||||
xml:
|
||||
file: /tmp/ansible-xml-beers-implicit.xml
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
|
||||
- name: Compare to expected result
|
||||
copy:
|
||||
src: results/test-add-element-implicitly.xml
|
||||
dest: /tmp/ansible-xml-beers-implicit.xml
|
||||
check_mode: yes
|
||||
diff: yes
|
||||
check_mode: true
|
||||
diff: true
|
||||
register: comparison
|
||||
|
||||
- name: Test expected result
|
||||
|
@ -203,7 +203,7 @@
|
|||
file: /tmp/ansible-xml-beers-implicit.xml
|
||||
xpath: /business/testnormalelement
|
||||
value: xml tag with no special characters
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
namespaces:
|
||||
a: http://example.com/some/namespace
|
||||
|
||||
|
@ -213,7 +213,7 @@
|
|||
file: /tmp/ansible-xml-beers-implicit.xml
|
||||
xpath: /business/test-with-dash
|
||||
value: xml tag with dashes
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
namespaces:
|
||||
a: http://example.com/some/namespace
|
||||
|
||||
|
@ -222,7 +222,7 @@
|
|||
file: /tmp/ansible-xml-beers-implicit.xml
|
||||
xpath: /business/test-with-dash.and.dot
|
||||
value: xml tag with dashes and dots
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
namespaces:
|
||||
a: http://example.com/some/namespace
|
||||
|
||||
|
@ -231,11 +231,11 @@
|
|||
file: /tmp/ansible-xml-beers-implicit.xml
|
||||
xpath: /business/test-with.dash_and.dot_and-underscores
|
||||
value: xml tag with dashes, dots and underscores
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
namespaces:
|
||||
a: http://example.com/some/namespace
|
||||
|
||||
- name: Pretty Print this!
|
||||
xml:
|
||||
file: /tmp/ansible-xml-beers-implicit.xml
|
||||
pretty_print: yes
|
||||
pretty_print: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue