1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins
patchback[bot] 802f8ea224
[PR #8387/da2c87ce backport][stable-9] fix test helper handling of rc (#8414)
fix test helper handling of rc (#8387)

* fix test helper handling of rc

* fix side_effect logic for rc != 0

* fix side_effect func + sanity tests

* fix ignore files

* fix code

* revamp the generator for run_command calls returns in testcase

* remove unused import

* Update tests/sanity/ignore-2.18.txt

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

* Update tests/sanity/ignore-2.17.txt

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit da2c87ce0d)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-05-24 22:11:42 +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 Avoid deprecated utcnow() (#8222) 2024-04-20 09:26:08 +02:00
connection Handle remote_addr change in lxc connection plugin (#7373) 2023-10-18 20:54:24 +02:00
filter Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
inventory Add descriptive error message to Linode inventory plugin file checkin… (#8133) 2024-03-24 22:22:44 +01:00
lookup bug(lookup/merge_variables): Fix rendering foreign variables (#8303) 2024-05-11 16:51:51 +02:00
module_utils CmdRunner format as_list - check for min_len and max_len (#8288) 2024-04-29 17:26:31 +02:00
modules [PR #8387/da2c87ce backport][stable-9] fix test helper handling of rc (#8414) 2024-05-24 22:11:42 +02:00
plugin_utils Add test for unsafe plugin util (#8345) 2024-05-12 00:36:12 +02:00