def _run_git(self, command, *args): """Run git command using test git directory.""" if command == 'clone': return utils.run_git(command, args[0], self._dir('test')) return utils.run_git('--git-dir=' + self._dir('test', '.git'), '--work-tree=' + self._dir('test'), command, *args)
def _run_git(self, command, *args): """Run git command using test git directory.""" if command == "clone": return utils.run_git(command, args[0], self._dir("test")) return utils.run_git( "--git-dir=" + self._dir("test", ".git"), "--work-tree=" + self._dir("test"), command, *args )