fix return code test for inactive

This commit is contained in:
David Murphy 2024-05-28 12:02:43 -06:00 committed by Daniel Wozniak
parent 85c77e65b0
commit e1d34cfc7a

View file

@ -389,7 +389,7 @@ def test_salt_systemd_inactive_preservation(
f"DGM salt_systemd_setup, '{test_item}' systemctl inactive test produced, line '{ret.stdout.strip().split()}', result '{test_active}'",
flush=True,
)
assert ret.returncode == 0
assert ret.returncode == 1
assert test_active == "inactive"