@pytest.mark.examples
def test_server_examples(server_example, bokeh_server, diff, log_file):
    # Note this is currently broken - server uses random sessions but we're
    # calling for "default" here - this has been broken for a while.
    # https://github.com/bokeh/bokeh/issues/3897
    url = '%s/?bokeh-session-id=%s' % (bokeh_server, basename(no_ext(server_example)))
    assert _run_example(server_example, log_file) == 0, 'Example did not run'
    _assert_snapshot(server_example, url, 'server', diff)
    if diff:
        _get_pdiff(server_example, diff)
dataset/ETHPy150Open bokeh/bokeh/tests/examples/test_examples.py/test_server_examples/original