Skip to content

Commit

Permalink
SAT-23362-update-fixture-as-per-new-feature(6.16)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysawant committed Apr 8, 2024
1 parent f1799c9 commit ad18bcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
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

0 comments on commit ad18bcb

Please sign in to comment.