code: def test_jira_invalid_issue():
      class Mock:
          def issue(self, jira_id):
              raise Exception("not found")
  
      with pytest.raises(Exception):
          merge_arrow_pr.JiraIssue(
              Mock(), "ARROW-1234", "ARROW", FakeCLI()
          )
  
imports: from collections import namedtuple
  import pytest
  import merge_arrow_pr
label_desc: Use image node_id 5 for calling a global function with example usage: test_jira_invalid_issue() without return types