Skip to content

Commit

Permalink
Remove_NonExistent_BZ
Browse files Browse the repository at this point in the history
  • Loading branch information
shweta83 committed Feb 9, 2024
1 parent 0b08acd commit 8dd901a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/foreman/sys/test_pulp3_filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@

import pytest

from robottelo.utils.issue_handlers import is_open


@pytest.mark.skip_if_open("BZ:2263294")
@pytest.mark.upgrade
def test_selinux_status(target_sat):
"""Test SELinux status.
Expand All @@ -29,15 +28,14 @@ def test_selinux_status(target_sat):
:customerscenario: true
:BZ: 2131031
:BZ: 2263294
"""
# check SELinux is enabled
result = target_sat.execute('getenforce')
assert 'Enforcing' in result.stdout
# check there are no SELinux denials
if not is_open('BZ:2131031'):
result = target_sat.execute('ausearch --input-logs -m avc -ts today --raw')
assert result.status == 1, 'Some SELinux denials were found in journal.'
result = target_sat.execute('ausearch --input-logs -m avc -ts today --raw')
assert result.status == 1, 'Some SELinux denials were found in journal.'


@pytest.mark.upgrade
Expand Down

0 comments on commit 8dd901a

Please sign in to comment.