#NEWLINE# @ patch ( 'bokeh.io._push_to_server' ) #NEWLINE# def test_url_arg( self , mock_push_to_server ) : #NEWLINE# #INDENT# io . _state . server_enabled = False #NEWLINE# io . push ( url = 'http://example.com/' ) #NEWLINE# self . _check_func_called ( mock_push_to_server , ( ) , dict ( url = 'http://example.com/' , app_path = io . _state . app_path , session_id = io . _state . session_id_allowing_none , document = io . _state . document , io_loop = None ) )