code: def test_inin010_func_layout_accepted(dash_duo):
      app = Dash()
  
      def create_layout():
          return html.Div("Hello World", id="a")
  
      app.layout = create_layout
  
      dash_duo.start_server(app)
      assert dash_duo.find_element("#a").text == "Hello World"
  
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 8 for calling a global function with example usage: test_inin010_func_layout_accepted(dash_duo) and returns: html