def METHOD_NAME(
    self, client
):
    serializers.CommentSerializer.Meta.resource_name = (
        "resource_name_from_serializer"
    )
    _check_resource_and_relationship_comment_type_match(client)