From c7e9f8ccfe97c8e83872cb2a5f8157f8747284b7 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Wed, 11 Sep 2024 05:02:41 -0400 Subject: [PATCH] [6.16.z] Fix test interference (#16315) Fix test interference (#16267) * Fix test interference * No containers to check PRT (cherry picked from commit 4df4c11603fc94c0ea9ff9eb3850184e19c2b35f) Co-authored-by: vsedmik <46570670+vsedmik@users.noreply.github.com> --- tests/foreman/cli/test_host.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/foreman/cli/test_host.py b/tests/foreman/cli/test_host.py index 0785ebedeea..65430597a5a 100644 --- a/tests/foreman/cli/test_host.py +++ b/tests/foreman/cli/test_host.py @@ -2017,10 +2017,11 @@ def test_syspurpose_end_to_end( # -------------------------- MULTI-CV SCENARIOS ------------------------- +@pytest.mark.no_containers @pytest.mark.rhel_ver_match('[^7]') def test_negative_multi_cv_registration( module_org, - module_activation_key, + module_ak_with_cv, module_lce, module_lce_library, module_published_cv, @@ -2052,7 +2053,7 @@ def test_negative_multi_cv_registration( """ # Register with global reg, just to get the sub-man config and certs right - result = rhel_contenthost.register(module_org, None, module_activation_key.name, target_sat) + result = rhel_contenthost.register(module_org, None, module_ak_with_cv.name, target_sat) assert result.status == 0 assert rhel_contenthost.subscribed