From 3f711ca6f949863d8db36dad0ada6979bf7e23c7 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Fri, 15 Mar 2024 16:09:47 -0400 Subject: [PATCH] [6.15.z] remove log check causing false negatives (#14401) remove log check causing false negatives (#14314) (cherry picked from commit c76295b12c3788f602c0d82277bf34d8fe10a810) Co-authored-by: rmynar <64528205+rmynar@users.noreply.github.com> --- tests/foreman/installer/test_installer.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/foreman/installer/test_installer.py b/tests/foreman/installer/test_installer.py index 6c038351914..da64593642e 100644 --- a/tests/foreman/installer/test_installer.py +++ b/tests/foreman/installer/test_installer.py @@ -1381,8 +1381,7 @@ def sat_default_install(module_sat_ready_rhels): f'foreman-initial-admin-password {settings.server.admin_password}', ] install_satellite(module_sat_ready_rhels[0], installer_args) - yield module_sat_ready_rhels[0] - common_sat_install_assertions(module_sat_ready_rhels[0]) + return module_sat_ready_rhels[0] @pytest.fixture(scope='module') @@ -1395,8 +1394,7 @@ def sat_non_default_install(module_sat_ready_rhels): 'foreman-proxy-content-pulpcore-hide-guarded-distributions false', ] install_satellite(module_sat_ready_rhels[1], installer_args, enable_fapolicyd=True) - yield module_sat_ready_rhels[1] - common_sat_install_assertions(module_sat_ready_rhels[1]) + return module_sat_ready_rhels[1] @pytest.mark.e2e