1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 07:51:50 +00:00
community.general/tests/unit/plugins
patchback[bot] 90850b3763
[PR #10689/cc41d9da backport][stable-11] gem: fix soundness issue when uninstalling default gems on Ubuntu (#10878)
gem: fix soundness issue when uninstalling default gems on Ubuntu (#10689)

* Attempt to fix gem soundness issue

* Return command execution

* Fix value error

* Attempt to fix failling tests

* Fix minor issues

* Update changelog

* Update tests/integration/targets/gem/tasks/main.yml



* Update changelogs/fragments/10689-gem-prevent-soundness-issue.yml



* Remove state and name from gem error message

* Improve gem uninstall check

* Make unit tests pass

* Fix linting issues

* gem: Remove length chenck and adapt unit tests

* Adapt gem unit tests

* gem: improve error msg

* Fix sanity error

* Fix linting issue

---------


(cherry picked from commit cc41d9da60)

Co-authored-by: Giorgos Drosos <56369797+gdrosos@users.noreply.github.com>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-10-05 07:23:48 +02:00
..
become add systemd run0 as a become method (#8306) 2024-05-11 16:53:44 +02:00
cache Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
callback Callbacks: use ansible-core's version instead of trying to extract it (#10193) 2025-06-02 20:45:18 +02:00
connection [PR #10531/d0b0aff5 backport][stable-11] wsl connection: import paramiko directly (#10534) 2025-08-01 11:18:50 +02:00
filter Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
inventory [PR #10712/cb84fa74 backport][stable-11] remove extra brackets when params are a given by a comprehension (#10725) 2025-08-23 19:43:27 +02:00
lookup [PR #10664/65bc4706 backport][stable-11] GitHub app access token lookup: allow to use PyJWT + cryptography instead of jwt (#10720) 2025-08-23 19:45:03 +02:00
module_utils [PR #10264/74ed0fc4 backport][stable-11] import mocks from community.internal_test_tools (#10266) 2025-06-17 21:24:13 +02:00
modules [PR #10689/cc41d9da backport][stable-11] gem: fix soundness issue when uninstalling default gems on Ubuntu (#10878) 2025-10-05 07:23:48 +02:00
plugin_utils Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00