From 31495433647c926a10730efdad9221a76cbc9cb4 Mon Sep 17 00:00:00 2001 From: yanpliu Date: Sat, 3 Feb 2024 08:56:54 -0500 Subject: [PATCH] pre-check --- tests/foreman/virtwho/conftest.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/foreman/virtwho/conftest.py b/tests/foreman/virtwho/conftest.py index e4225bacac1..a83875fe130 100644 --- a/tests/foreman/virtwho/conftest.py +++ b/tests/foreman/virtwho/conftest.py @@ -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 @@ -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