From cec48097bddcf20a38613543e7c4faa58b898c8c Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Tue, 20 Feb 2024 09:38:55 -0500 Subject: [PATCH] [6.15.z] Remove enable_tools_repo and enable_rhel_repo methods (#14135) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ondřej Gajdušek --- 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 4af4eb5fab1..3b01ef2dfff 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