From 81b6806d9e2ba29280a353af1692e230109f54ce Mon Sep 17 00:00:00 2001 From: shwsingh Date: Tue, 28 Jan 2025 17:10:04 +0530 Subject: [PATCH] Remove check for rhsc7 from code --- robottelo/hosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robottelo/hosts.py b/robottelo/hosts.py index 007bf3b2a4..60884b085b 100644 --- a/robottelo/hosts.py +++ b/robottelo/hosts.py @@ -475,7 +475,7 @@ def enable_repo(self, repo, force=False): downstream_repo = settings.repos.sattools_repo['rhel7'] elif repo == constants.REPOS['rhst8']['id']: downstream_repo = settings.repos.sattools_repo['rhel8'] - elif repo in (constants.REPOS['rhsc7']['id'], constants.REPOS['rhsc8']['id']): + elif repo in (constants.REPOS['rhsc8']['id'], constants.REPOS['rhsc9']['id']): downstream_repo = settings.repos.capsule_repo if force or settings.robottelo.cdn or not downstream_repo: return self.execute(f'subscription-manager repos --enable {repo}')