1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-08 10:51:32 +00:00
community.general/tests
patchback[bot] 9e9d1b637e
[PR #11959/d87a8a16 backport][stable-11] xml: fail for non-string values (#12000)
* xml: fail for non-string `value`s (#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>
(cherry picked from commit d87a8a167f)

* Make Python 2.7 compatible.

Co-authored-by: Felix Fontein <felix@fontein.de>

* Fix typo.

* One more.

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-06 20:24:55 +02:00
..
integration [PR #11959/d87a8a16 backport][stable-11] xml: fail for non-string values (#12000) 2026-05-06 20:24:55 +02:00
sanity [stable-11] Update ignore.txt (#11428) 2026-01-15 22:02:29 +01:00
unit [stable-11] CI: Temporarily skip failing callback unit tests for ansible-core 2.21+ (#11845) 2026-04-16 21:44:57 +02:00
utils [PR #10863/9d0150b2 backport][stable-11] [doc] update requirements for all consul modules/lookups (#10872) 2025-10-03 07:53:16 +02:00
.gitignore New module git config info (#7587) 2023-11-29 08:37:50 +01:00
config.yml Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
galaxy-importer.cfg Zuul third-party-check: disable ansible-doc part of galaxy-importer (#7907) 2024-01-27 15:28:10 +01:00