code: def test_gene003_max_props():
      limited_props_doc = "large number of props for this component"
      # dash_generator_test_component_standard has max_props set to 2, so
      # MyStandardComponent gets the restricted signature and note about it
      # in its docstring.
      # dash_generator_test_component_nested and MyNestedComponent do not.
      assert limited_props_doc in MyStandardComponent.__doc__
      assert limited_props_doc not in MyNestedComponent.__doc__
  
      # Verify that it still works to check for invalid props in both cases
      with pytest.raises(TypeError):
          MyStandardComponent(valuex="nope")
  
      with pytest.raises(TypeError):
          MyNestedComponent(valuey="nor this")
  
file_path: dash/tests/integration/test_generation.py
imports: import pytest
  from dash import Dash, Input, Output
  from dash.exceptions import PreventUpdate
  from dash_generator_test_component_nested import MyNestedComponent
  from dash_generator_test_component_standard import MyStandardComponent
  from dash_generator_test_component_typescript import TypeScriptComponent, TypeScriptClassComponent, StandardComponent, RequiredChildrenComponent
  from dash_test_components import StyledComponent
  from dash.html import Button, Div
  from selenium.webdriver.support.ui import WebDriverWait
label_desc: Use image node_id 3 for calling a global function with example usage: test_gene003_max_props() without return types