From 7a4b56581fe0f27554a7faf3fb39ae38bd493b17 Mon Sep 17 00:00:00 2001 From: Cole Higgins Date: Mon, 13 May 2024 12:26:28 -0400 Subject: [PATCH] Adding sub man repo command --- tests/foreman/api/test_reporttemplates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/foreman/api/test_reporttemplates.py b/tests/foreman/api/test_reporttemplates.py index c19bffa5f59..44554835de8 100644 --- a/tests/foreman/api/test_reporttemplates.py +++ b/tests/foreman/api/test_reporttemplates.py @@ -505,6 +505,7 @@ def test_positive_applied_errata_by_search( rhel_contenthost.execute(r'subscription-manager repos --enable \*') assert rhel_contenthost.execute(f'yum install -y {FAKE_1_CUSTOM_PACKAGE}').status == 0 assert rhel_contenthost.execute(f'rpm -q {FAKE_1_CUSTOM_PACKAGE}').status == 0 + rhel_contenthost.execute('subscription-manager repos') task_id = target_sat.api.JobInvocation().run( data={ 'feature': 'katello_errata_install_by_search',