Skip to content

Commit beeda7b

Browse files
committed
update exclude marker to a minor version
1 parent 6503aba commit beeda7b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test_suite/generic/test_generic.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -910,28 +910,28 @@ def test_authselect_conf_files(self, host):
910910
f'Unexpected files found under {authselect_custom_dir}.' \
911911
f'This directory should be empty'
912912

913-
@pytest.mark.exclude_on(['rhel10'])
913+
@pytest.mark.exclude_on(['>=rhel10.0'])
914914
def test_fingerprint_auth(self, host):
915915
"""
916916
Check file /etc/pam.d/fingerprint-auth
917917
"""
918918
self.__check_pam_d_file_content(host, 'fingerprint-auth')
919919

920-
@pytest.mark.exclude_on(['rhel10'])
920+
@pytest.mark.exclude_on(['>=rhel10.0'])
921921
def test_password_auth(self, host):
922922
"""
923923
Check file /etc/pam.d/password-auth
924924
"""
925925
self.__check_pam_d_file_content(host, 'password-auth')
926926

927-
@pytest.mark.exclude_on(['rhel10'])
927+
@pytest.mark.exclude_on(['>=rhel10.0'])
928928
def test_postlogin(self, host):
929929
"""
930930
Check file /etc/pam.d/postlogin
931931
"""
932932
self.__check_pam_d_file_content(host, 'postlogin')
933933

934-
@pytest.mark.exclude_on(['rhel10'])
934+
@pytest.mark.exclude_on(['>=rhel10.0'])
935935
def test_smartcard_auth(self, host):
936936
"""
937937
Check file /etc/pam.d/smartcard-auth
@@ -940,7 +940,7 @@ def test_smartcard_auth(self, host):
940940

941941
self.__check_pam_d_file_content(host, 'smartcard-auth')
942942

943-
@pytest.mark.exclude_on(['rhel10'])
943+
@pytest.mark.exclude_on(['>=rhel10.0'])
944944
def test_system_auth(self, host):
945945
"""
946946
Check file /etc/pam.d/system-auth

0 commit comments

Comments
 (0)