Skip to content

Commit

Permalink
update scope of fixtures from hosts-content longrun test_inc_updates (#…
Browse files Browse the repository at this point in the history
…14842)

* update fixtures name

* changed fixture from sca to non-sca mode
  • Loading branch information
vijaysawant authored Apr 26, 2024
1 parent 8ebf0b7 commit 9483c09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/foreman/longrun/test_inc_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def test_positive_noapply_api(


@pytest.mark.tier3
def test_positive_incremental_update_time(module_target_sat, module_sca_manifest_org):
def test_positive_incremental_update_time(module_target_sat, module_entitlement_manifest_org):
"""Incremental update should not take a long time.
:id: a9cdcc58-2d10-42cf-8e24-f7bec3b79d6b
Expand All @@ -257,7 +257,7 @@ def test_positive_incremental_update_time(module_target_sat, module_sca_manifest
"""
# create content view
cv = module_target_sat.cli_factory.make_content_view(
{'organization-id': module_sca_manifest_org.id}
{'organization-id': module_entitlement_manifest_org.id}
)
repo_sync_timestamp = (
datetime.utcnow().replace(microsecond=0) - timedelta(seconds=1)
Expand All @@ -266,7 +266,7 @@ def test_positive_incremental_update_time(module_target_sat, module_sca_manifest
for _repo in ['rhel8_bos', 'rhst8', 'rhsclient8']:
rh_repo_id = module_target_sat.api_factory.enable_rhrepo_and_fetchid(
basearch=DEFAULT_ARCHITECTURE,
org_id=module_sca_manifest_org.id,
org_id=module_entitlement_manifest_org.id,
product=PRDS['rhel8'],
repo=REPOS[_repo]['name'],
reposet=REPOSET[_repo],
Expand All @@ -275,7 +275,7 @@ def test_positive_incremental_update_time(module_target_sat, module_sca_manifest
module_target_sat.cli.ContentView.add_repository(
{
'id': cv['id'],
'organization-id': module_sca_manifest_org.id,
'organization-id': module_entitlement_manifest_org.id,
'repository-id': rh_repo_id,
}
)
Expand Down

0 comments on commit 9483c09

Please sign in to comment.