From 06c9b26b9199b44e2f6f08b2931cb3ff7eabe031 Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Fri, 6 Dec 2024 11:32:25 +0100 Subject: [PATCH] permission read test skipped (#17080) --- 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):