21 lines
609 B
Python
21 lines
609 B
Python
"""Server configuration for integration tests.
|
|
|
|
!! Never use this configuration in production because it
|
|
opens the server to the world and provide access to JupyterLab
|
|
JavaScript objects through the global window variable.
|
|
"""
|
|
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.LabApp.expose_app_in_browser = True
|
|
|
|
# Uncomment to set server log level to debug level
|
|
# c.ServerApp.log_level = "DEBUG"
|