@patch('salt.utils.which', lambda exe: not exe == "parted")
    def test_virtual_bails_without_parted(self):
        ret = parted.__virtual__()
        err = (False, 'The parted execution module failed to load parted binary is not in the path.')
        self.assertEqual(err, ret)
Test index page api/milestones
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/parted_test.py/PartedTestCase.test_virtual_bails_without_parted--crossover with--dataset/ETHPy150Open treeio/treeio/treeio/projects/api/tests.py/ProjectsAPITest.test_get_milestones_list