@@ -311,7 +311,8 @@ def test_positive_host_list_with_cv_and_lce(
311311 """
312312 # register client
313313 result = rhel_contenthost .register (function_org , None , function_ak_with_cv .name , target_sat )
314- assert result .status == 0
314+ if rhel_contenthost .os_version .major != 6 :
315+ assert result .status == 0
315316 assert rhel_contenthost .subscribed
316317 # list host command without specifying cv or lce
317318 host_list = target_sat .cli .Host .list (output_format = 'json' )
@@ -1882,7 +1883,8 @@ def test_negative_multi_cv_registration(
18821883
18831884 # Register with global reg, just to get the sub-man config and certs right
18841885 result = rhel_contenthost .register (module_org , None , module_ak_with_cv .name , target_sat )
1885- assert result .status == 0
1886+ if rhel_contenthost .os_version .major != 6 :
1887+ assert result .status == 0
18861888 assert rhel_contenthost .subscribed
18871889
18881890 # Unregister the host
@@ -1954,7 +1956,8 @@ def test_positive_multi_cv_registration(
19541956 result = rhel_contenthost .register (
19551957 session_multicv_org , None , session_multicv_default_ak .name , session_multicv_sat
19561958 )
1957- assert result .status == 0
1959+ if rhel_contenthost .os_version .major != 6 :
1960+ assert result .status == 0
19581961 assert rhel_contenthost .subscribed
19591962
19601963 # Unregister the host
@@ -1968,7 +1971,8 @@ def test_positive_multi_cv_registration(
19681971 )
19691972
19701973 # Confirm that registration succeeds
1971- assert res .status == 0
1974+ if rhel_contenthost .os_version .major != 6 :
1975+ assert res .status == 0
19721976 assert rhel_contenthost .subscribed
19731977
19741978 # Confirm that the host is registered to both environments
@@ -2028,7 +2032,8 @@ def test_positive_multi_cv_assignment(
20282032 result = rhel_contenthost .register (
20292033 session_multicv_org , None , session_multicv_default_ak .name , session_multicv_sat
20302034 )
2031- assert result .status == 0
2035+ if rhel_contenthost .os_version .major != 6 :
2036+ assert result .status == 0
20322037 assert rhel_contenthost .subscribed
20332038
20342039 # Assign multiple content view environments to the host using hammer
@@ -2115,7 +2120,8 @@ def test_positive_multi_cv_host_repo_availability(
21152120 result = rhel_contenthost .register (
21162121 session_multicv_org , None , session_multicv_default_ak .name , session_multicv_sat
21172122 )
2118- assert result .status == 0
2123+ if rhel_contenthost .os_version .major != 6 :
2124+ assert result .status == 0
21192125 assert rhel_contenthost .subscribed
21202126
21212127 # Assign the host to multiple content view environments with subscription-manager
@@ -2173,7 +2179,7 @@ def test_positive_dump_enc_yaml(target_sat):
21732179# -------------------------- HOST TRACE SUBCOMMAND SCENARIOS -------------------------
21742180@pytest .mark .pit_client
21752181@pytest .mark .client_release
2176- @pytest .mark .rhel_ver_list ( r'^[\d]+$ ' )
2182+ @pytest .mark .rhel_ver_match ( '[^6] ' )
21772183def test_positive_tracer_list_and_resolve (tracer_host , target_sat ):
21782184 """Install tracer on client, downgrade the service, check from the satellite
21792185 that tracer shows and resolves the problem. The test works with a package specified
@@ -2645,7 +2651,8 @@ def test_positive_reregister_rhel(
26452651 """
26462652 # register client
26472653 result = rhel_contenthost .register (function_org , None , function_ak_with_cv .name , target_sat )
2648- assert result .status == 0
2654+ if rhel_contenthost .os_version .major != 6 :
2655+ assert result .status == 0
26492656 assert rhel_contenthost .subscribed
26502657 # remove local consumer certs
26512658 rhel_contenthost .execute ('rm -rf /etc/pki/consumer/*' )
@@ -2655,7 +2662,8 @@ def test_positive_reregister_rhel(
26552662 reregister = rhel_contenthost .register (
26562663 function_org , None , function_ak_with_cv .name , target_sat , force = True
26572664 )
2658- assert reregister .status == 0
2665+ if rhel_contenthost .os_version .major != 6 :
2666+ assert reregister .status == 0
26592667 assert rhel_contenthost .subscribed
26602668 certs = rhel_contenthost .execute ("ls /etc/pki/consumer" ).stdout
26612669 assert 'cert.pem' in certs
0 commit comments