diff --git a/tests/unit/modules/disk_test.py b/tests/unit/modules/disk_test.py index 4b7384a56e31..ec162f74597f 100644 --- a/tests/unit/modules/disk_test.py +++ b/tests/unit/modules/disk_test.py @@ -151,7 +151,7 @@ def test_fstype(self): mock = MagicMock(return_value='FSTYPE\n{0}'.format(fs_type)) with patch.dict(disk.__salt__, {'cmd.run': mock}): self.assertEqual(disk.fstype(device), fs_type) - + @skipIf(not salt.utils.which('resize2fs'), 'resize2fs not found') def test_resize2fs(self): '''