MCPcopy Create free account
hub / github.com/apache/arrow / Mock

Class Mock

dev/test_merge_arrow_pr.py:158–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157def 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())

Callers 3

test_gh_invalid_issueFunction · 0.85
test_noop_eventsFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_gh_invalid_issueFunction · 0.68
test_noop_eventsFunction · 0.68