def test_latest(self):
        name = os.path.join(integration.TMP, 'salt_repo')
        try:
            ret = self.run_state(
                'git.latest',
                name='https://{0}/saltstack/salt-test-repo.git'.format(self.__domain),
                target=name
            )
            self.assertSaltTrueReturn(ret)
            self.assertTrue(os.path.isdir(os.path.join(name, '.git')))
        finally:
            shutil.rmtree(name, ignore_errors=True)
Executes callback on all the subtree starting at self.
dataset/ETHPy150Open saltstack/salt/tests/integration/states/git.py/GitTest.test_latest--crossover with--dataset/ETHPy150Open los-cocos/cocos/cocos/cocosnode.py/CocosNode.walk