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
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
..
compat Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
mock Avoid direct type comparisons (#7085) 2023-08-11 09:00:54 +02:00
plugins [PR #8387/da2c87ce backport][stable-9] fix test helper handling of rc (#8414) 2024-05-24 22:11:42 +02:00
requirements.txt CI: for some reason async-timeout doesn't seem to get installed on Python 3.11 (#7811) 2024-01-05 08:08:19 +01:00
requirements.yml Switch to Ansible Galaxy compatible requirements files for tests (#6549) 2023-05-21 14:06:36 +02:00