code: def test_script_attrs_arguments_provided(self) -> None:
      url = "http://localhost:5006"
      r = bes.server_document(arguments=dict(foo=10))
      assert "foo=10" in r
      html = bs4.BeautifulSoup(r, "html.parser")
      scripts = html.findAll(name="script")
      assert len(scripts) == 1
      script = scripts[0]
      attrs = script.attrs
      assert list(attrs) == ["id"]
      divid = attrs["id"]
      request = f"xhr.open('GET', \"{url}/autoload.js?bokeh-autoload-element={divid}&bokeh-absolute-url={url}&foo=10\", true);"
      assert request in script.string
  
imports: from __future__ import annotations
  import pytest
  import bs4
  import bokeh.embed.server
label_desc: Use image node_id 5 for calling the TestServerDocument obj's underlying member method code with example usage: obj.test_script_attrs_arguments_provided() without return types