code: def test_inherit(self):
      authorizations = {
          "apikey": {
              "type": "apiKey",
              "in": "header",
              "name": "X-API-KEY",
          }
      }
      api = Namespace("test", authorizations=authorizations)
      parent = api.model("Parent", {})
      api.inherit("Child", parent, {})
  
      assert "Parent" in api.models
      assert "Child" in api.models
      assert api.authorizations == authorizations
  
file_path: flask-restplus/tests/test_namespace.py
imports: from __future__ import unicode_literals
  import flask_restplus
  from flask_restplus import Namespace, Model, OrderedModel
label_desc: Use image node_id 9 for calling the NamespaceTest obj's underlying member method code with example usage: obj.test_inherit() without return types