Skip to content

Commit

Permalink
[6.15.z] Remove enable_tools_repo and enable_rhel_repo methods (#14135)
Browse files Browse the repository at this point in the history
Co-authored-by: Ondřej Gajdušek <[email protected]>
  • Loading branch information
Satellite-QE and ogajduse authored Feb 20, 2024
1 parent cf30626 commit cec4809
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions robottelo/host_helpers/contenthost_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cec4809

Please sign in to comment.