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

SAT-23362-update-fixture-as-per-new-feature(6.16) #14673

Merged
Show file tree
Hide file tree
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
6 changes: 2 additions & 4 deletions tests/foreman/api/test_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,9 +1434,7 @@ def test_positive_sync_sha_repo(self, repo, target_sat):
assert result.status == 1

@pytest.mark.tier2
def test_positive_sync_repo_null_contents_changed(
self, module_entitlement_manifest_org, target_sat
):
def test_positive_sync_repo_null_contents_changed(self, module_sca_manifest_org, target_sat):
"""test for null contents_changed parameter on actions::katello::repository::sync.

:id: f3923940-e097-4da3-aba7-b14dbcda857b
Expand All @@ -1454,7 +1452,7 @@ def test_positive_sync_repo_null_contents_changed(
"""
repo_id = target_sat.api_factory.enable_rhrepo_and_fetchid(
basearch='x86_64',
org_id=module_entitlement_manifest_org.id,
org_id=module_sca_manifest_org.id,
product=constants.PRDS['rhel'],
repo=constants.REPOS['rhst7']['name'],
reposet=constants.REPOSET['rhst7'],
Expand Down
4 changes: 2 additions & 2 deletions tests/foreman/ui/test_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ def test_positive_delete_random_docker_repo(session, module_org, module_target_s


@pytest.mark.tier2
def test_positive_delete_rhel_repo(session, module_entitlement_manifest_org, target_sat):
def test_positive_delete_rhel_repo(session, module_sca_manifest_org, target_sat):
"""Enable and sync a Red Hat Repository, and then delete it

:id: e96f369d-3e58-4824-802e-0b7e99d6d207
Expand All @@ -847,7 +847,7 @@ def test_positive_delete_rhel_repo(session, module_entitlement_manifest_org, tar
repository_name = sat_tools_repo.data['repository']
product_name = sat_tools_repo.data['product']
with session:
session.organization.select(module_entitlement_manifest_org.name)
session.organization.select(module_sca_manifest_org.name)
session.redhatrepository.enable(
sat_tools_repo.data['repository-set'],
sat_tools_repo.data['arch'],
Expand Down