notebook/ui-tests/test/jupyter_server_config.py
2022-03-01 08:43:21 +01:00

13 lines
309 B
Python

from tempfile import mkdtemp
c.ServerApp.port = 8888
c.ServerApp.port_retries = 0
c.ServerApp.open_browser = False
c.ServerApp.root_dir = mkdtemp(prefix="galata-test-")
c.ServerApp.token = ""
c.ServerApp.password = ""
c.ServerApp.disable_check_xsrf = True
c.JupyterNotebookApp.expose_app_in_browser = True