Skip to content

Commit

Permalink
fix skip syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
frogunder authored and dwoz committed Dec 12, 2023
1 parent 6db62dc commit ad06fc0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/pytests/unit/modules/test_xfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@
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.mark.skip_on_windows(reason="xfs not available on windows"),
pytest.mark.skip_on_darwin(reason="xfs not available on darwin."),
]


Expand Down

0 comments on commit ad06fc0

Please sign in to comment.