migrate test_xfs to pytest

This commit is contained in:
Frode Gundersen 2023-01-19 16:19:24 +00:00 committed by Daniel Wozniak
parent 74ed2e6714
commit a8bcef36cb

View file

@ -8,6 +8,17 @@ import textwrap
import pytest
import salt.modules.xfs as xfs
import salt.utils.platform
pytestmark = [
pytest.mark.skipif(
salt.utils.platform.is_windows(), reason="xfs not available on windows"
),
pytest.mark.skipif(
salt.utils.platform.is_darwin(),
reason="xfs not available on darwin.",
),
]
@pytest.fixture