Skip to content

Commit

Permalink
test ping fix for 6.15 (#15563)
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk authored Jul 3, 2024
1 parent 486b3e9 commit 7c91823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/cli/test_ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_positive_ping(target_sat, switch_user):
:customerscenario: true
"""
result = target_sat.execute(f"su - {'postgres' if switch_user else 'root'} -c 'hammer ping'")
assert result.stderr[1].decode() == ''
assert result.stderr == ''

# Filter lines containing status
statuses = [line for line in result.stdout.splitlines() if 'status:' in line.lower()]
Expand Down

0 comments on commit 7c91823

Please sign in to comment.