Exemple #1
0
def to_github_issue(issue_id):
    return redirect(github.issue_url(issue_id))
Exemple #2
0
 def test_open_issue(self):
     github.config.set('github', 'target_user', 'user1')
     self.assertEqual("https://github.com/user1/repo1/issues/148", github.issue_url('repo1-148'))
     self.assertEqual("https://github.com/user1/test-repo1/issues/148", github.issue_url('test-repo1-148'))