Skip to content

Commit

Permalink
ReportTemplates Coverage for RHEL10 hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
damoore044 committed Feb 24, 2025
1 parent fdce08a commit 1307599
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions tests/foreman/api/test_reporttemplates.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def test_negative_create_report_without_name(module_target_sat):


@pytest.mark.tier2
@pytest.mark.rhel_ver_match('[^6]')
@pytest.mark.rhel_ver_match('N-2')
@pytest.mark.no_containers
def test_positive_applied_errata(
rhel_contenthost, target_sat, function_location, function_org, function_lce
Expand Down Expand Up @@ -428,7 +428,7 @@ def test_positive_applied_errata(


@pytest.mark.tier2
@pytest.mark.rhel_ver_match('[^6]')
@pytest.mark.rhel_ver_match('N-2')
@pytest.mark.no_containers
def test_positive_applied_errata_report_with_invalid_errata(
rhel_contenthost,
Expand Down Expand Up @@ -505,7 +505,7 @@ def test_positive_applied_errata_report_with_invalid_errata(


@pytest.mark.tier2
@pytest.mark.rhel_ver_match('[^6]')
@pytest.mark.rhel_ver_match('N-2')
@pytest.mark.no_containers
def test_positive_applied_errata_by_search(
rhel_contenthost, target_sat, function_org, function_lce
Expand Down Expand Up @@ -765,7 +765,7 @@ def test_positive_generate_job_report(setup_content, module_target_sat, content_

@pytest.mark.tier2
@pytest.mark.no_containers
@pytest.mark.rhel_ver_match('[^6]')
@pytest.mark.rhel_ver_match('N-2')
def test_positive_installable_errata(
target_sat, function_org, function_lce, function_location, rhel_contenthost
):
Expand Down Expand Up @@ -879,7 +879,7 @@ def test_positive_installable_errata(


@pytest.mark.tier2
@pytest.mark.rhel_ver_match('[^6]')
@pytest.mark.rhel_ver_match('N-2')
def test_positive_installed_products(
target_sat,
rhel_contenthost,
Expand Down
2 changes: 1 addition & 1 deletion tests/foreman/cli/test_reporttemplates.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ def test_negative_generate_hostpkgcompare_nonexistent_host(module_target_sat):
assert "At least one of the hosts couldn't be found" in cm.value.stderr


@pytest.mark.rhel_ver_list([7, 8, 9])
@pytest.mark.rhel_ver_match('N-2')
@pytest.mark.tier3
def test_positive_generate_installed_packages_report(
module_sca_manifest_org,
Expand Down
4 changes: 2 additions & 2 deletions tests/foreman/ui/test_reporttemplates.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def test_positive_end_to_end(session, module_org, module_location):
assert not session.reporttemplate.search(new_name)


@pytest.mark.rhel_ver_list([7, 8, 9])
@pytest.mark.rhel_ver_match('N-2')
@pytest.mark.upgrade
@pytest.mark.tier2
def test_positive_generate_registered_hosts_report(
Expand Down Expand Up @@ -480,7 +480,7 @@ def test_negative_nonauthor_of_report_cant_download_it(session):
"""


@pytest.mark.rhel_ver_list([7, 8, 9])
@pytest.mark.rhel_ver_match('N-2')
@pytest.mark.tier3
def test_positive_generate_all_installed_packages_report(
session, module_setup_content, rhel_contenthost, target_sat
Expand Down

0 comments on commit 1307599

Please sign in to comment.