Skip to content

Commit

Permalink
permission read test skipped (#17080)
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk authored Dec 6, 2024
1 parent 27b6231 commit 06c9b26
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests/foreman/api/test_multiple_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 06c9b26

Please sign in to comment.