@patch('salt.utils.is_windows', lambda: True)
    def test_virtual_bails_on_windows(self):
        ret = parted.__virtual__()
        err = (False, 'The parted execution module failed to load Windows systems are not supported.')
        self.assertEqual(err, ret)
If running windows, __virtual__ shouldn't register module
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/parted_test.py/PartedTestCase.test_virtual_bails_on_windows