Skip to content

Commit

Permalink
[6.16.z] Fix test_positive_health_check_by_tags (#16204)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Sep 3, 2024
1 parent 412857e commit 9a8d2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/maintain/test_health.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def test_positive_health_check_by_tags(sat_maintain):
:expectedresults: Health check should pass for listed tags.
"""
result = sat_maintain.cli.Health.list_tags().stdout
output = [i.split("]\x1b[0m")[0] for i in result.split("\x1b[36m[") if i]
output = [tag.strip("[]") for tag in result.strip().split("\n")]
for tag in output:
assert (
sat_maintain.cli.Health.check(
Expand Down

0 comments on commit 9a8d2be

Please sign in to comment.