def METHOD_NAME(package_config__job_config):
    package_config, job_config = package_config__job_config
    flexmock(IssueCommentEvent).should_receive("tag_name").and_return("1")
    flexmock(IssueCommentEvent).should_receive("commit_sha").and_return("abcdef")
    data = IssueCommentEvent(
        issue_id=123,
        action=PullRequestAction.opened,
        repo_namespace="a_namespace",
        repo_name="a_repo_name",
        target_repo="a_target",
        project_url="projec_url",
        actor="actor",
        comment="/packit creat-update",
        comment_id=321,
    ).get_dict()
    msg = (
        "Packit failed on creating Bodhi update "
        "in dist-git (an url):\n\n"
        "| dist-git branch | error |\n"
        "| --------------- | ----- |\n"
        "| | ``` error abc ``` |\n\n"
        "Fedora Bodhi update was re-triggered by comment in issue 123.\n\n"
        "You can retrigger the update by adding a comment (`/packit create-update`) "
        "into this issue.\n\n---\n\n"
        "*Get in [touch with us](https://packit.dev/#contact) if you need some help.*\n"
    )
    flexmock(bodhi).should_receive("report_in_issue_repository").with_args(
        issue_repository=None,
        service_config=ServiceConfig,
        title=("Fedora Bodhi update failed to be created"),
        message=msg,
        comment_to_existing=msg,
    ).once()
    error_msg = "error abc"
    dg = flexmock(local_project=flexmock(git_url="an url"))
    packit_api = flexmock(dg=dg)
    flexmock(IssueCommentRetriggerBodhiUpdateHandler).should_receive(
        "packit_api"
    ).and_return(packit_api)
    flexmock(IssueCommentRetriggerBodhiUpdateHandler).should_receive(
        "__next__"
    ).and_raise(PackitException, error_msg)
    flexmock(CeleryTask).should_receive("is_last_try").and_return(True)
    handler = IssueCommentRetriggerBodhiUpdateHandler(
        package_config, job_config, data, flexmock()
    )
    with pytest.raises(PackitException):
        handler.run()