Skip to content

Commit

Permalink
Fix an assert in RHSSO test (#17089)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhellebr authored Dec 6, 2024
1 parent 2f312ef commit 27b6231
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 27b6231

Please sign in to comment.