From 77357537603657467a07b3b44664e6207d79e34f Mon Sep 17 00:00:00 2001 From: vijay sawant Date: Thu, 11 Apr 2024 15:44:11 +0530 Subject: [PATCH] comp audit - use global registration method (#14738) --- tests/foreman/cli/test_repository.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/foreman/cli/test_repository.py b/tests/foreman/cli/test_repository.py index 4a70086781f..7120bedf34c 100644 --- a/tests/foreman/cli/test_repository.py +++ b/tests/foreman/cli/test_repository.py @@ -2006,8 +2006,7 @@ def test_positive_accessible_content_status( :CaseImportance: Critical """ - rhel7_contenthost.install_katello_ca(target_sat) - rhel7_contenthost.register_contenthost(module_org.label, module_ak_with_synced_repo['name']) + rhel7_contenthost.register(module_org, None, module_ak_with_synced_repo['name'], target_sat) assert rhel7_contenthost.subscribed rhel7_contenthost.run('yum repolist') access_log = target_sat.execute(