code: def test_jira_output_no_components():
      # ARROW-5472
      status = "Interesting work"
      components = []
      output = merge_arrow_pr.format_issue_output(
          "jira",
          "ARROW-1234",
          "Resolved",
          status,
          FakeAssignee("Foo Bar"),
          components,
      )
  
      assert (
          output
          == """=== JIRA ARROW-1234 ===
  Summary\t\tInteresting work
  Assignee\tFoo Bar
  Components\tNO COMPONENTS!!!
  Status\t\tResolved
  URL\t\thttps://issues.apache.org/jira/browse/ARROW-1234"""
      )
  
      output = merge_arrow_pr.format_issue_output(
          "jira",
          "ARROW-1234",
          "Resolved",
          status,
          FakeAssignee("Foo Bar"),
          [FakeComponent("C++"), FakeComponent("Python")],
      )
  
      assert (
          output
          == """=== JIRA ARROW-1234 ===
  Summary\t\tInteresting work
  Assignee\tFoo Bar
  Components\tC++, Python
  Status\t\tResolved
  URL\t\thttps://issues.apache.org/jira/browse/ARROW-1234"""
      )
  
imports: from collections import namedtuple
  import pytest
  import merge_arrow_pr
label_desc: Use image node_id 12 for calling a global function with example usage: test_jira_output_no_components() without return types