From bcc452c51126b4fc832e1780e171a38c2566b144 Mon Sep 17 00:00:00 2001 From: Lukas Hellebrandt Date: Tue, 12 Mar 2024 14:54:56 +0100 Subject: [PATCH] Comments addressed --- tests/foreman/ui/test_jobinvocation.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/foreman/ui/test_jobinvocation.py b/tests/foreman/ui/test_jobinvocation.py index 15ea439f796..6b89b1c5437 100644 --- a/tests/foreman/ui/test_jobinvocation.py +++ b/tests/foreman/ui/test_jobinvocation.py @@ -32,10 +32,8 @@ def module_rhel_client_by_ip(module_org, smart_proxy_location, rhel7_contenthost return rhel7_contenthost -@pytest.mark.no_containers @pytest.mark.tier4 -def test_positive_bz2209968( - session, +def test_positive_hostgroups_full_nested_names( module_org, smart_proxy_location, target_sat, @@ -94,7 +92,7 @@ def test_positive_bz2209968( # we should have something like "parent1/child1a" expected_names.append(expected_name) - with session: + with target_sat.ui_session() as session: session.organization.select(module_org.name) session.location.select(smart_proxy_location.name) hostgroups = session.jobinvocation.read_hostgroups()