code: def test_fr_405(self, app, client):
      api = restplus.Api(app)
  
      @api.route("/ids/<int:id>", endpoint="hello")
      class HelloWorld(restplus.Resource):
          def get(self):
              return {}
  
      response = client.post("/ids/3")
      assert response.status_code == 405
      assert response.content_type == api.default_mediatype
      # Allow can be of the form 'GET, PUT, POST'
      allow = ", ".join(set(response.headers.get_all("Allow")))
      allow = set(method.strip() for method in allow.split(","))
      assert allow == set(["HEAD", "OPTIONS", "GET"])
  
imports: from __future__ import unicode_literals
  import json
  import logging
  import pytest
  from flask import Blueprint, abort
  from flask.signals import got_request_exception
  from werkzeug.exceptions import HTTPException, BadRequest, NotFound, Aborter
  from werkzeug.http import quote_etag, unquote_etag
  import flask_restplus
label_desc: Use image node_id 32 for calling the ErrorsTest obj's underlying member method code with example usage: obj.test_fr_405(app, client) and returns: dict