Пример #1
0
 def get_pr(self, pr_id: int) -> PullRequest:
     return GithubPullRequest.get(project=self, id=pr_id)
Пример #2
0
 def test_wrong_auth_static_method(self):
     # Verify that the exception handler is applied to static methods
     with pytest.raises(GithubAPIException):
         GithubPullRequest.get(self.ogr_project, 1)