()
| 155 | |
| 156 | |
| 157 | def test_gh_invalid_issue(): |
| 158 | class Mock: |
| 159 | |
| 160 | def issue(self, gh_id): |
| 161 | raise Exception("not found") |
| 162 | |
| 163 | with pytest.raises(Exception): |
| 164 | merge_arrow_pr.GitHubIssue(Mock(), fake_issue_id, FakeCLI()) |
| 165 | |
| 166 | |
| 167 | def test_gh_resolve(): |