Skip to content

Commit

Permalink
[6.12.z] fix in test_permission (#13894)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Jan 24, 2024
1 parent 1a7bdba commit f939965
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/foreman/destructive/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
from robottelo.constants import HAMMER_CONFIG

LOGEDIN_MSG = "Session exists, currently logged in as '{0}'"
LOGEDOFF_MSG = "Using sessions, you are currently not logged in"
NOTCONF_MSG = "Credentials are not configured."
password = gen_string('alpha')
pytestmark = pytest.mark.destructive

Expand Down Expand Up @@ -52,5 +50,5 @@ def test_positive_password_reset(target_sat):
{'username': settings.server.admin_username, 'password': reset_password}
)
result = target_sat.cli.Auth.with_user().status()
assert LOGEDIN_MSG.format(settings.server.admin_username) in result[0]['message']
assert LOGEDIN_MSG.format(settings.server.admin_username) in result.split("\n")[1]
assert target_sat.cli.Org.with_user().list()

0 comments on commit f939965

Please sign in to comment.