diff --git a/tests/unit/modules/test_btrfs.py b/tests/unit/modules/test_btrfs.py index b5f934034d41..5248cc564f45 100644 --- a/tests/unit/modules/test_btrfs.py +++ b/tests/unit/modules/test_btrfs.py @@ -21,6 +21,7 @@ # Import Salt Libs import salt.utils.files import salt.utils.fsutils +import salt.utils.platform import salt.modules.btrfs as btrfs from salt.exceptions import CommandExecutionError @@ -401,6 +402,7 @@ def test_subvolume_create_already_exists(self, subvolume_exists): subvolume_exists.return_value = True assert not btrfs.subvolume_create('var', dest='/mnt') + @skipIf(salt.utils.platform.is_windows(), 'Skip on Windows') @patch('salt.modules.btrfs.subvolume_exists') def test_subvolume_create(self, subvolume_exists): '''