diff --git a/tests/foreman/api/test_reporttemplates.py b/tests/foreman/api/test_reporttemplates.py index 4fca9098dd6..c1b7348eccb 100644 --- a/tests/foreman/api/test_reporttemplates.py +++ b/tests/foreman/api/test_reporttemplates.py @@ -811,7 +811,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(r'^(?!6$)\d+$') +@pytest.mark.rhel_ver_match('[^6]') def test_positive_installable_errata( target_sat, function_org, function_lce, function_location, rhel_contenthost ): @@ -925,7 +925,7 @@ def test_positive_installable_errata( @pytest.mark.tier2 -@pytest.mark.rhel_ver_match(r'^(?!6$)\d+$') +@pytest.mark.rhel_ver_match('[^6]') def test_positive_installed_products( target_sat, rhel_contenthost,