From 7145cae9c6573ab7199e2b3089f27cedfd37011e Mon Sep 17 00:00:00 2001 From: vijay sawant Date: Fri, 28 Jun 2024 23:45:37 +0530 Subject: [PATCH] fix parameterisation issue to run test for rhel7/8/9 (#15537) (cherry picked from commit 06138d98c9538cdcb22a8ae05065ea68565a5124) --- tests/foreman/cli/test_host.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/foreman/cli/test_host.py b/tests/foreman/cli/test_host.py index 06f0f8dc3e4..0f5e11532fe 100644 --- a/tests/foreman/cli/test_host.py +++ b/tests/foreman/cli/test_host.py @@ -2772,8 +2772,7 @@ def test_positive_create_host_with_lifecycle_environment_name( assert found_host, 'Assertion failed: host not found' -@pytest.mark.no_containers -@pytest.mark.rhel_ver_match('9') +@pytest.mark.rhel_ver_match('^6') @pytest.mark.parametrize( 'setting_update', ['validate_host_lce_content_source_coherence'], indirect=False )