Skip to content

Commit

Permalink
assertion skip for SAT-30898 (#17515)
Browse files Browse the repository at this point in the history
* assertion skip for SAT-30898

* Update tests/foreman/cli/test_remoteexecution.py

Co-authored-by: Gaurav Talreja <gauravtalreja1@gmail.com>

* Update tests/foreman/cli/test_remoteexecution.py

Co-authored-by: vsedmik <46570670+vsedmik@users.noreply.github.com>

---------

Co-authored-by: Gaurav Talreja <gauravtalreja1@gmail.com>
Co-authored-by: vsedmik <46570670+vsedmik@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 7, 2025
1 parent 0fc34d8 commit 8add939
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/foreman/cli/test_remoteexecution.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from robottelo.exceptions import CLIFactoryError
from robottelo.utils import ohsnap
from robottelo.utils.datafactory import filtered_datapoint, parametrized
from robottelo.utils.issue_handlers import is_open


@filtered_datapoint
Expand Down Expand Up @@ -344,7 +345,8 @@ def test_positive_run_job_effective_user(
'organization-id': module_org.id,
}
)
assert 'Permission denied' in out
if rex_contenthost.os_version.major != 7 and is_open('SAT-30898'):
assert 'Permission denied' in out

@pytest.mark.tier3
@pytest.mark.parametrize(
Expand Down

0 comments on commit 8add939

Please sign in to comment.