Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
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())
Callers
3
test_gh_invalid_issue
Function · 0.85
test_noop_events
Function · 0.85
test_issue_comment_with_commands_bot_not_first
Function · 0.85
Calls
no outgoing calls
Tested by
3
test_gh_invalid_issue
Function · 0.68
test_noop_events
Function · 0.68
test_issue_comment_with_commands_bot_not_first
Function · 0.68