Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rh satellite capsule version to rhel9 from rhel7 #17421

Merged
merged 2 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions tests/foreman/ui/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@
import pytest

from robottelo.config import settings
from robottelo.constants import DEFAULT_LOC, PRDS, REPOS, REPOSET, RPM_TO_UPLOAD, DataFile
from robottelo.constants import (
DEFAULT_ARCHITECTURE,
DEFAULT_LOC,
PRDS,
REPOS,
REPOSET,
RPM_TO_UPLOAD,
DataFile,
)


@pytest.fixture(scope='module')
Expand Down Expand Up @@ -55,14 +63,13 @@ def module_yum_repo2(module_product, module_target_sat):

@pytest.fixture(scope='module')
def module_rh_repo(module_sca_manifest_org, module_target_sat):
rhsc = module_target_sat.cli_factory.SatelliteCapsuleRepository(cdn=True)
repo_id = module_target_sat.api_factory.enable_rhrepo_and_fetchid(
basearch=rhsc.data['arch'],
basearch=DEFAULT_ARCHITECTURE,
org_id=module_sca_manifest_org.id,
product=rhsc.data['product'],
repo=rhsc.data['repository'],
reposet=rhsc.data['repository-set'],
releasever=rhsc.data['releasever'],
product=REPOS['rhsc9']['product'],
repo=REPOS['rhsc9']['name'],
reposet=REPOSET['rhsc9'],
releasever=REPOS['rhsc9']['version'],
)
module_target_sat.api.Repository(id=repo_id).sync()
return module_target_sat.api.Repository(id=repo_id).read()
Expand Down
Loading