1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-07 02:25:53 +00:00
community.general/tests/integration/targets/xml
Alexei Znamensky d87a8a167f
xml: fail for non-string values (#11959)
* fix(xml): coerce boolean values to string with a warning

Fixes #7171

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* test(xml): add integration tests for boolean value handling

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* changelog: add fragment for PR 11959

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* adjustments from review

* test(xml): update boolean-value integration tests to expect failure

Now that xml fails on non-string values, replace the old success-path
tests with failure assertions and add a positive test for quoted strings.
Remove the no-longer-needed result XML fixtures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* adjustments from review

* fix(xml): correct boolean test assertions to match actual error message format

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 19:23:58 +02:00
..
fixtures Add more default license and copyright notices (#5087) 2022-08-08 08:44:19 +02:00
meta Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
results add special word '+value' to add_children/set_children in xml module (#8437) 2025-05-31 16:42:24 +02:00
tasks xml: fail for non-string values (#11959) 2026-05-06 19:23:58 +02:00
vars Adjust YAML files (#10233) 2025-06-15 09:13:16 +02:00
aliases remove skip/aix from aliases files (#11660) 2026-03-23 06:38:06 +01:00