mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
migrate test_xfs to pytest
This commit is contained in:
parent
74ed2e6714
commit
a8bcef36cb
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue