bokeh.embed.server._process_resources

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 7

0 Source : test_server.py
with MIT License
from rthorst

    def test_bad_input(self):
        with pytest.raises(ValueError):
            bes._process_resources("foo")

    def test_None(self):

0 Source : test_server.py
with MIT License
from rthorst

    def test_None(self):
        assert bes._process_resources(None) == "&resources=none"

    def test_default(self):

0 Source : test_server.py
with MIT License
from rthorst

    def test_default(self):
        assert bes._process_resources("default") == ""

class Test__process_session_id(object):