Here are the examples of the python api bokeh.embed.server._process_resources taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
View Source File : test_server.py
License : MIT License
Project Creator : rthorst
License : MIT License
Project Creator : rthorst
def test_bad_input(self):
with pytest.raises(ValueError):
bes._process_resources("foo")
def test_None(self):
0
View Source File : test_server.py
License : MIT License
Project Creator : rthorst
License : MIT License
Project Creator : rthorst
def test_None(self):
assert bes._process_resources(None) == "&resources=none"
def test_default(self):
0
View Source File : test_server.py
License : MIT License
Project Creator : rthorst
License : MIT License
Project Creator : rthorst
def test_default(self):
assert bes._process_resources("default") == ""
class Test__process_session_id(object):