

def test_clone_with_alternate_name(self):
    '\n        Test cloning an existing repo with an alternate name for the repo dir\n        '
    clone_parent_dir = tempfile.mkdtemp(dir=integration.TMP)
    clone_name = os.path.basename(self.repo)
    self.assertTrue(self.run_function('git.clone', [clone_parent_dir, self.repo], name=clone_name))
    shutil.rmtree(clone_parent_dir)

dataset/ETHPy150Open saltstack/salt/tests/integration/modules/git.py GitModuleTest.test_clone_with_alternate_name/original