Skip to content

Commit

Permalink
Skip tests unless on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy authored and dwoz committed Oct 17, 2024
1 parent 858bab7 commit 15c8ba1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pytests/unit/modules/test_selinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
from salt.exceptions import SaltInvocationError
from tests.support.mock import MagicMock, mock_open, patch

pytestmark = [pytest.mark.skip_unless_on_linux]


@pytest.fixture
def configure_loader_modules():
Expand Down

0 comments on commit 15c8ba1

Please sign in to comment.