code: def test_dvcv010_bad_props(dash_duo):
      app = Dash(__name__)
      app.layout = html.Div(
          [
              html.Div(
                  [
                      html.Div(id="inner-div"),
                      dcc.Input(id="inner-input"),
                  ],
                  id="outer-div",
              ),
              dcc.Input(id={"a": 1}),
          ],
          id="main",
      )
  
      @app.callback(
          Output("inner-div", "xyz"),
          # "data-xyz" is OK, does not give an error
          [Input("inner-input", "pdq"), Input("inner-div", "data-xyz")],
          [State("inner-div", "value")],
      )
      def xyz(a, b, c):
          a if b else c
  
      @app.callback(
          Output({"a": MATCH}, "no"),
          [Input({"a": MATCH}, "never")],
          # "boo" will not error because we don't check State MATCH/ALLSMALLER
          [State({"a": MATCH}, "boo"), State({"a": ALL}, "nope")],
      )
      def f(a, b, c):
          return a if b else c
  
      dash_duo.start_server(app, **debugging)
  
      specs = [
          [
              "Invalid prop for this component",
              [
                  'Property "never" was used with component ID:',
                  '{"a":1}',
                  "in one of the Input items of a callback.",
                  "This ID is assigned to a dash_core_components.Input component",
                  "in the layout, which does not support this property.",
                  "This ID was used in the callback(s) for Output(s):",
                  '{"a":MATCH}.no',
              ],
          ],
          [
              "Invalid prop for this component",
              [
                  'Property "nope" was used with component ID:',
                  '{"a":1}',
                  "in one of the State items of a callback.",
                  "This ID is assigned to a dash_core_components.Input component",
                  '{"a":MATCH}.no',
              ],
          ],
          [
              "Invalid prop for this component",
              [
                  'Property "no" was used with component ID:',
                  '{"a":1}',
                  "in one of the Output items of a callback.",
                  "This ID is assigned to a dash_core_components.Input component",
                  '{"a":MATCH}.no',
              ],
          ],
          [
              "Invalid prop for this component",
              [
                  'Property "pdq" was used with component ID:',
                  '"inner-input"',
                  "in one of the Input items of a callback.",
                  "This ID is assigned to a dash_core_components.Input component",
                  "inner-div.xyz",
              ],
          ],
          [
              "Invalid prop for this component",
              [
                  'Property "value" was used with component ID:',
                  '"inner-div"',
                  "in one of the State items of a callback.",
                  "This ID is assigned to a dash_html_components.Div component",
                  "inner-div.xyz",
              ],
          ],
          [
              "Invalid prop for this component",
              [
                  'Property "xyz" was used with component ID:',
                  '"inner-div"',
                  "in one of the Output items of a callback.",
                  "This ID is assigned to a dash_html_components.Div component",
                  "inner-div.xyz",
              ],
          ],
      ]
      check_errors(dash_duo, specs)
  
imports: import flask
  import pytest
  from dash import Dash, Input, Output, State, MATCH, ALL, ALLSMALLER, html, dcc
  from dash.testing import wait
label_desc: Use image node_id 12 for calling a global function with example usage: test_dvcv010_bad_props(dash_duo) and returns: unknown