From a42ab1197e42451264f7551fa89cf702164af6ae Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Thu, 5 Dec 2024 10:11:24 +0100 Subject: [PATCH] permission read test skipped --- tests/foreman/api/test_multiple_paths.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/foreman/api/test_multiple_paths.py b/tests/foreman/api/test_multiple_paths.py index b179e487fb7..51a3f9c18c5 100644 --- a/tests/foreman/api/test_multiple_paths.py +++ b/tests/foreman/api/test_multiple_paths.py @@ -471,10 +471,15 @@ def test_positive_permission_read(self, target_sat): class and name and resource_type fields are populated :CaseImportance: Critical + + :Verifies: SAT-29957 + + :BlockedBy: SAT-29957 """ - perm = target_sat.api.Permission().search(query={'per_page': '1'})[0] - assert perm.name - assert perm.resource_type + perms = target_sat.api.Permission().search(query={'per_page': '1'}) + for perm in perms: + assert perm.name + assert perm.resource_type @pytest.mark.tier1 def test_positive_media_read(self, target_sat):