@patch('salt.utils.which', lambda exe: not exe == "lsblk")
    def test_virtual_bails_without_lsblk(self):
        ret = parted.__virtual__()
        err = (False, 'The parted execution module failed to load lsblk binary is not in the path.')
        self.assertEqual(err, ret)
If lsblk not in PATH, __virtual__ shouldn't register module
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/parted_test.py/PartedTestCase.test_virtual_bails_without_lsblk