You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/xml/tasks
Dag Wieers 2ef0946370
Warn on incorrect use of parameter, and remove fix for now (#54336)
* Fix wrong example, remove strictness and fix tests

It was obvious that (because of an incorrect example) people were using
the **xml** module incorrectly, specifying the `attribute` parameter
where it was not supported (i.e. ignored).

While this functionality would have been useful, it currently returns as
if the information was requested from the parent, so we cannot simply
make it to what would be expected.

Therefor the real solution is to provide a warning when we find
incorrect use, and deprecate this use. Then later we could implement
this functionality correctly.

While troubleshooting this issue, I found that in some cases our
integration tests were not being run when we expected it.

This fixes #53459

* Change warning

* Fix weird sanity test error

* Add a comment to the deprecate-test
6 years ago
..
main.yml Use correct python for -c invocations in tests. (#54577) 6 years ago
test-add-children-elements-unicode.yml
test-add-children-elements.yml
test-add-children-from-groupvars.yml
test-add-children-insertafter.yml
test-add-children-insertbefore.yml
test-add-children-with-attributes-unicode.yml
test-add-children-with-attributes.yml
test-add-element-implicitly.yml
test-add-namespaced-children-elements.yml
test-children-elements-xml.yml
test-count-unicode.yml
test-count.yml
test-get-element-content-unicode.yml
test-get-element-content.yml Warn on incorrect use of parameter, and remove fix for now (#54336) 6 years ago
test-mutually-exclusive-attributes.yml
test-pretty-print-only.yml
test-pretty-print.yml
test-remove-attribute.yml
test-remove-element.yml
test-remove-namespaced-attribute.yml
test-remove-namespaced-element.yml
test-set-attribute-value-unicode.yml
test-set-attribute-value.yml
test-set-children-elements-level.yml
test-set-children-elements-unicode.yml xml module: Better change detection, improved tests (#28460) 7 years ago
test-set-children-elements.yml
test-set-element-value-empty.yml
test-set-element-value-unicode.yml
test-set-element-value.yml xml module: Better change detection, improved tests (#28460) 7 years ago
test-set-namespaced-attribute-value.yml
test-set-namespaced-children-elements.yml
test-set-namespaced-element-value.yml xml module: Better change detection, improved tests (#28460) 7 years ago
test-xmlstring.yml Fix integration tests to support remote hosts. 6 years ago