From fa7ea97649451602595ae4367b7456274c0af511 Mon Sep 17 00:00:00 2001 From: David Moore Date: Mon, 4 Nov 2024 13:32:05 -0500 Subject: [PATCH] alternate syntax --- tests/foreman/api/test_errata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/foreman/api/test_errata.py b/tests/foreman/api/test_errata.py index cd3382023dc..aa3d92164b8 100644 --- a/tests/foreman/api/test_errata.py +++ b/tests/foreman/api/test_errata.py @@ -656,7 +656,7 @@ def test_positive_install_in_hc( @pytest.mark.tier3 -@pytest.mark.rhel_ver_match('[^7]|10') +@pytest.mark.rhel_ver_match(r'^(?!.*(7|fips)).*$') # exclude any fips or major ver 7 @pytest.mark.no_containers @pytest.mark.e2e @pytest.mark.pit_client