code: def test_inin025_url_base_pathname(dash_br, dash_thread_server):
      server = flask.Flask(__name__)
      app = nested_app(server, "/app1/", "The first")
      nested_app(server, "/app2/", "The second")
  
      dash_thread_server(app)
  
      dash_br.server_url = "http://localhost:{}/app1/".format(
          dash_thread_server.port
      )
      dash_br.wait_for_text_to_equal("#out", "The first")
  
      dash_br.server_url = "http://localhost:{}/app2/".format(
          dash_thread_server.port
      )
      dash_br.wait_for_text_to_equal("#out", "The second")
  
imports: import datetime
  import flask
  import json
  import pytest
  import re
  from bs4 import BeautifulSoup
  import dash_dangerously_set_inner_html
  import dash_flow_example
  import dash
  from dash import Dash, html, dcc, Input, Output
  from dash.exceptions import PreventUpdate
  from dash.testing.wait import until
label_desc: Use image node_id 12 for calling a global function with example usage: test_inin025_url_base_pathname(dash_br, dash_thread_server) without return types