code: def test_subdomain():
      app = flask.Flask(__name__, subdomain_matching=True)
      app.config["SERVER_NAME"] = "example.com"
      client = app.test_client()
  
      @app.route("/", subdomain="<company_id>")
      def view(company_id):
          return company_id
  
      with app.test_request_context():
          url = flask.url_for("view", company_id="xxx")
  
      with client:
          response = client.get(url)
  
      assert 200 == response.status_code
      assert b"xxx" == response.data
  
imports: import importlib.metadata
  import click
  import pytest
  import flask
  from flask import appcontext_popped
  from flask.cli import ScriptInfo
  from flask.globals import _cv_request
  from flask.json import jsonify
  from flask.testing import EnvironBuilder
  from flask.testing import FlaskCliRunner
label_desc: Use image node_id 20 for calling a global function with example usage: test_subdomain() and returns: company_id