code: def test_crossbow_chat_report_extra_message_success(load_fixture):
      expected_msg = load_fixture(
          "chat-report-extra-message-success.txt"
      )
      job = load_fixture(
          "crossbow-job-no-failure.yaml", decoder=yaml.load
      )
      report = Report(job)
      assert report.tasks_by_state is not None
      report_chat = ChatReport(
          report=report,
          extra_message_success="Success present",
          extra_message_failure="Should not be present",
      )
  
      assert report_chat.render("text") == textwrap.dedent(expected_msg)
  
file_path: arrow/dev/archery/archery/crossbow/tests/test_reports.py
imports: import textwrap
  from archery.crossbow.core import yaml
  from archery.crossbow.reports import ChatReport, CommentReport, EmailReport, Report
label_desc: Use image node_id 4 for calling a global function with example usage: test_crossbow_chat_report_extra_message_success(load_fixture) without return types