From 15c8ba1a40cb544b31996350e18ce5468ff694a5 Mon Sep 17 00:00:00 2001 From: Shane Lee Date: Fri, 28 Jun 2024 13:16:44 -0600 Subject: [PATCH] Skip tests unless on Linux --- tests/pytests/unit/modules/test_selinux.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pytests/unit/modules/test_selinux.py b/tests/pytests/unit/modules/test_selinux.py index 818a5f97a496..7470685cee0d 100644 --- a/tests/pytests/unit/modules/test_selinux.py +++ b/tests/pytests/unit/modules/test_selinux.py @@ -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():