You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
Backup (but also majority of other) tests rely solely on
assert "FAIL" not in result['stdout']
which can miss some problems, for example if a required command option changes, ansible_module.command produces no stdout therefore the above assert passes even if command actually fails. I suggest adding also assert result['rc'] == 0 wherever possible
The text was updated successfully, but these errors were encountered:
Backup (but also majority of other) tests rely solely on
assert "FAIL" not in result['stdout']
which can miss some problems, for example if a required command option changes, ansible_module.command produces no stdout therefore the above assert passes even if command actually fails. I suggest adding also
assert result['rc'] == 0
wherever possibleThe text was updated successfully, but these errors were encountered: