code: def test_dotted_names_from_app(app, client):
      test = flask.Blueprint("test", __name__)
  
      @app.route("/")
      def app_index():
          return flask.url_for("test.index")
  
      @test.route("/test/")
      def index():
          return flask.url_for("app_index")
  
      app.register_blueprint(test)
  
      rv = client.get("/")
      assert rv.data == b"/test/"
  
imports: import pytest
  from jinja2 import TemplateNotFound
  from werkzeug.http import parse_cache_control_header
  import flask
label_desc: Use image node_id 12 for calling a global function with example usage: test_dotted_names_from_app(app, client) and returns: flask, flask