def test_eval_repo(self):
    result = eval_repo_url('coditation/st2contrib')
    self.assertEqual(result, 'https://github.com/coditation/st2contrib')
    result = eval_repo_url('example@example.com:coditation/st2contrib.git')
    self.assertEqual(result, 'example@example.com:coditation/st2contrib.git')
    repo_url = 'https://github.com/coditation/st2contrib.git'
    result = eval_repo_url(repo_url)
    self.assertEqual(result, repo_url)
    repo_url = 'https://git-wip-us.apache.org/repos/asf/libcloud.git'
    result = eval_repo_url(repo_url)
    self.assertEqual(result, repo_url)
def test_eval_repo(self):
    result = eval_repo_url('coditation/st2contrib')
    self.assertEqual(result, 'https://github.com/coditation/st2contrib')
    result = eval_repo_url('example@example.com:coditation/st2contrib.git')
    self.assertEqual(result, 'example@example.com:coditation/st2contrib.git')
    repo_url = 'https://github.com/coditation/st2contrib.git'
    result = eval_repo_url(repo_url)
    self.assertEqual(result, repo_url)
    repo_url = 'https://git-wip-us.apache.org/repos/asf/libcloud.git'
    result = eval_repo_url(repo_url)
    self.assertEqual(result, repo_url)