code: def test_cbmt012_initialization_with_overlapping_outputs(
      generate, dash_duo
  ):
      app = Dash(__name__, suppress_callback_exceptions=generate)
      block = html.Div(
          [
              html.Div(id="input-1", children="input-1"),
              html.Div(id="input-2", children="input-2"),
              html.Div(id="input-3", children="input-3"),
              html.Div(id="input-4", children="input-4"),
              html.Div(id="input-5", children="input-5"),
              html.Div(id="output-1"),
              html.Div(id="output-2"),
              html.Div(id="output-3"),
              html.Div(id="output-4"),
          ]
      )
  
      call_counts = {
          "container": Value("i", 0),
          "output-1": Value("i", 0),
          "output-2": Value("i", 0),
          "output-3": Value("i", 0),
          "output-4": Value("i", 0),
      }
  
      if generate:
          app.layout = html.Div(
              [html.Div(id="input"), html.Div(id="container")]
          )
  
          @app.callback(
              Output("container", "children"),
              Input("input", "children"),
          )
          def set_content(_):
              call_counts["container"].value += 1
              return block
  
      else:
          app.layout = block
  
      def generate_callback(outputid):
          def callback(*args):
              call_counts[outputid].value += 1
              return "{}, {}".format(*args)
  
          return callback
  
      for i in range(1, 5):
          outputid = "output-{}".format(i)
          app.callback(
              Output(outputid, "children"),
              Input("input-{}".format(i), "children"),
              Input("input-{}".format(i + 1), "children"),
          )(generate_callback(outputid))
  
      dash_duo.start_server(app)
  
      for i in range(1, 5):
          outputid = "output-{}".format(i)
          dash_duo.wait_for_text_to_equal(
              "#{}".format(outputid),
              "input-{}, input-{}".format(i, i + 1),
          )
          assert call_counts[outputid].value == 1
  
      assert call_counts["container"].value == (1 if generate else 0)
  
file_path: dash/tests/integration/callbacks/test_multiple_callbacks.py
imports: import time
  from multiprocessing import Value, Lock
  import pytest
  from dash import Dash, Input, Output, State, callback_context, html, dcc, dash_table
  from dash.exceptions import PreventUpdate
  import dash.testing.wait
label_desc: Use image node_id 12 for calling a global function with example usage: test_cbmt012_initialization_with_overlapping_outputs(generate, dash_duo) and returns: callback, block, str