mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-31 17:36:21 +00:00
[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>
This commit is contained in:
parent
23af148021
commit
802f8ea224
4 changed files with 16 additions and 8 deletions
|
|
@ -30,8 +30,6 @@
|
|||
settings: whatever.settings
|
||||
output:
|
||||
failed: true
|
||||
flags:
|
||||
xfail: not seem to be failing as it should
|
||||
run_command_calls:
|
||||
- command: [/testbin/python, -m, django, check, --no-color, --settings=whatever.settings, babaloo, yaba, daba, doo]
|
||||
environ: *env-def
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue