code: def test_invalid_resources_param(self) -> None:
      with pytest.raises(ValueError):
          bes.server_document(
              url="http://localhost:8081/foo/bar/sliders", resources=123
          )
      with pytest.raises(ValueError):
          bes.server_document(
              url="http://localhost:8081/foo/bar/sliders",
              resources="whatever",
          )
  
imports: from __future__ import annotations
  import pytest
  import bs4
  import bokeh.embed.server
label_desc: Use image node_id 1 for calling the TestServerDocument obj's underlying member method code with example usage: obj.test_invalid_resources_param() without return types