Skip to content

Commit

Permalink
[6.16.z] Fix an assert in RHSSO test (#17102)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Dec 6, 2024
1 parent 0fdb820 commit 6346785
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/foreman/destructive/test_ldapauthsource.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ def test_rhsso_login_using_hammer(
result = module_target_sat.cli.Auth.with_user(
username=settings.rhsso.rhsso_user, password=settings.rhsso.rhsso_password
).status()
assert f"Session exists, currently logged in as '{settings.rhsso.rhsso_user}'." in result
assert (
f"Session exists, currently logged in as '{settings.rhsso.rhsso_user}'."
in result[0]['message']
)
task_list = module_target_sat.cli.Task.with_user(
username=settings.rhsso.rhsso_user, password=settings.rhsso.rhsso_password
).list()
Expand Down

0 comments on commit 6346785

Please sign in to comment.