code: def test_excess_static_path(self) -> None:
      a = baa.Application()
  
      def add_roots(doc):
          doc.add_root(AnotherModelInTestApplication())
          doc.add_root(SomeModelInTestApplication())
  
      def add_one_root(doc):
          doc.add_root(AnotherModelInTestApplication())
  
      handler = FunctionHandler(add_roots)
      handler._static = "foo"
      a.add(handler)
      handler2 = FunctionHandler(add_one_root)
      handler2._static = "bar"
      with pytest.raises(RuntimeError) as e:
          a.add(handler2)
      assert "More than one static path" in str(e.value)
  
imports: from __future__ import annotations
  import pytest
  import logging
  from unittest.mock import MagicMock, patch
  from bokeh.application.handlers import CodeHandler, FunctionHandler, Handler
  from bokeh.core.properties import Instance, Int, Nullable
  from bokeh.document import Document
  from bokeh.model import Model
  from bokeh.plotting import figure
  from bokeh.util.logconfig import basicConfig
  import bokeh.application.application
label_desc: Use image node_id 12 for calling the Test_Application obj's underlying member method code with example usage: obj.test_excess_static_path() without return types