Skip to content

Commit

Permalink
pre-check
Browse files Browse the repository at this point in the history
  • Loading branch information
yanpliu committed Feb 3, 2024
1 parent ddad1df commit 3149543
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/foreman/virtwho/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def test_foo(session):
# your ui test steps here
session.architecture.create({'name': 'bar'})
"""
with module_target_sat.ui_session(test_name, module_user.login, module_user.password) as session:
with module_target_sat.ui_session(
test_name, module_user.login, module_user.password
) as session:
return session


Expand Down Expand Up @@ -97,5 +99,7 @@ def test_foo(session):
# your ui test steps here
session.architecture.create({'name': 'bar'})
"""
with module_target_sat.ui_session(test_name, module_user_sca.login, module_user_sca.password) as session_sca:
with module_target_sat.ui_session(
test_name, module_user_sca.login, module_user_sca.password
) as session_sca:
return session_sca

0 comments on commit 3149543

Please sign in to comment.