From 5745d390aa0cb6d76277ba91e426ddf660ecba75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Gajdu=C5=A1ek?= Date: Tue, 20 Feb 2024 15:29:10 +0100 Subject: [PATCH] Remove enable_tools_repo and enable_rhel_repo methods (#14134) (cherry picked from commit f67da4030d205a0d4387505d39dcb05c7f892dc9) --- robottelo/host_helpers/contenthost_mixins.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/robottelo/host_helpers/contenthost_mixins.py b/robottelo/host_helpers/contenthost_mixins.py index f009503666a..96da029d148 100644 --- a/robottelo/host_helpers/contenthost_mixins.py +++ b/robottelo/host_helpers/contenthost_mixins.py @@ -100,26 +100,6 @@ def dogfood_repository(self, repo=None, product=None, release=None, snap=''): product, release, v_major, repo = self._dogfood_helper(product, release, repo) return dogfood_repository(settings.ohsnap, repo, product, release, v_major, snap, self.arch) - def enable_tools_repo(self, organization_id): - return self.satellite.api_factory.enable_rhrepo_and_fetchid( - basearch=constants.DEFAULT_ARCHITECTURE, - org_id=organization_id, - product=constants.PRDS['rhel'], - repo=self.REPOS['rhst']['name'], - reposet=self.REPOSET['rhst'], - releasever=None, - ) - - def enable_rhel_repo(self, organization_id): - return self.satellite.api_factory.enable_rhrepo_and_fetchid( - basearch=constants.DEFAULT_ARCHITECTURE, - org_id=organization_id, - product=constants.PRDS['rhel'], - repo=self.REPOS['rhel']['name'], - reposet=self.REPOSET['rhel'], - releasever=None, - ) - def create_custom_html_repo(self, rpm_url, repo_name=None, update=False, remove_rpm=None): """Creates a custom yum repository, that will be published on https