diff --git a/testing/jupyterhub_config.py b/testing/jupyterhub_config.py index 920156e4..10950c02 100644 --- a/testing/jupyterhub_config.py +++ b/testing/jupyterhub_config.py @@ -6,23 +6,24 @@ to enable testing without administrative privileges. c = get_config() # noqa -from jupyterhub.auth import DummyAuthenticator - -c.JupyterHub.authenticator_class = DummyAuthenticator +c.JupyterHub.authenticator_class = "dummy" # Optionally set a global password that all users must use # c.DummyAuthenticator.password = "your_password" -from jupyterhub.spawner import SimpleLocalProcessSpawner - -c.JupyterHub.spawner_class = SimpleLocalProcessSpawner +c.JupyterHub.spawner_class = "simple" # only listen on localhost for testing c.JupyterHub.bind_url = 'http://127.0.0.1:8000' +# don't cache static files c.JupyterHub.tornado_settings = { "no_cache_static": True, } +c.JupyterHub.allow_named_servers = True +c.JupyterHub.default_url = "/hub/home" + +# make sure admin UI is available and any user can login c.JupyterHub.admin_users = {"admin"} c.JupyterHub.allow_all = True