Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vsedmik committed Jan 22, 2024
1 parent a6750c2 commit 3f3a8ce
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions tests/foreman/cli/test_satellitesync.py
Original file line number Diff line number Diff line change
Expand Up @@ -2350,7 +2350,7 @@ def test_positive_custom_cdn_with_credential(
@pytest.mark.rhel_ver_list([8])
@pytest.mark.parametrize(
'function_synced_rh_repo',
['rhae2.9_el8'],
['rhsclient8'],
indirect=True,
)
def test_positive_export_import_consume_incremental_yum_repo(
Expand All @@ -2368,7 +2368,7 @@ def test_positive_export_import_consume_incremental_yum_repo(
:id: f5515168-c3c9-4351-9f83-ba6265689db3
:setup:
1. Enabled and synced RH yum repository (Ansible Engine for this case).
1. Enabled and synced RH yum repository (RH Satellite Client for this case).
2. An unregistered RHEL8 host.
:steps:
Expand All @@ -2377,7 +2377,7 @@ def test_positive_export_import_consume_incremental_yum_repo(
3. On the importing side import version 1, check the package count.
4. Create an AK with the imported CV, register the content host and check
the package count available to install. Filtered package should be missing.
5. Update the fiter so no package is left behind, publish version 2 and export it.
5. Update the filter so no package is left behind, publish version 2 and export it.
6. Import version 2, check the package count.
7. Check the package count available to install on the content host.
8. Install the package.
Expand All @@ -2390,9 +2390,6 @@ def test_positive_export_import_consume_incremental_yum_repo(
:customerscenario: true
"""
res = rhel_contenthost.execute('dnf config-manager --set-disabled ubi-8-appstream-rpms')
assert res.status == 0, 'disablement of ubi-8-appstream-rpms failed'

# Create a CV with the RH yum repository.
exp_cv = target_sat.cli_factory.make_content_view(
{
Expand All @@ -2402,7 +2399,7 @@ def test_positive_export_import_consume_incremental_yum_repo(
)

# Add exclude RPM filter to filter out one package, publish version 1 and export it.
filtered_pkg = 'sshpass'
filtered_pkg = 'katello-host-tools'
cvf = target_sat.cli_factory.make_content_view_filter(
{'content-view-id': exp_cv['id'], 'type': 'rpm'}
)
Expand Down

0 comments on commit 3f3a8ce

Please sign in to comment.