code: def test_issue_comment_without_pull_request(load_fixture, responses):
      responses.add(
          responses.GET,
          github_url("/repositories/169101701/issues/19"),
          json=load_fixture("issue-19.json"),
          status=200,
      )
      responses.add(
          responses.GET,
          github_url("repos/ursa-labs/ursabot/pulls/19"),
          json={},
          status=404,
      )
      responses.add(
          responses.POST,
          github_url("/repos/ursa-labs/ursabot/issues/19/comments"),
          json={},
      )
  
      def handler(command, **kwargs):
          pass
  
      payload = load_fixture(
          "event-issue-comment-without-pull-request.json"
      )
      bot = CommentBot(name="ursabot", handler=handler)
      bot.handle("issue_comment", payload)
  
      post = responses.calls[2]
      assert json.loads(post.request.body) == {
          "body": "The comment bot only listens to pull request comments!"
      }
  
imports: import json
  import os
  from unittest import mock
  from unittest.mock import Mock
  import click
  import pytest
  import responses
  from archery.bot import CommentBot, CommandError, PullRequestState, PullRequestWorkflowBot, group
label_desc: Use image node_id 11 for calling a global function with example usage: test_issue_comment_without_pull_request(load_fixture, responses) without return types