mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
@@ -165,7 +165,7 @@ def test_extra_traefik_config():
|
|||||||
# test extra dynamic config
|
# test extra dynamic config
|
||||||
resp = send_request(url="http://127.0.0.1/the/hub/runs/here/too", max_sleep=5)
|
resp = send_request(url="http://127.0.0.1/the/hub/runs/here/too", max_sleep=5)
|
||||||
assert resp.code == 200
|
assert resp.code == 200
|
||||||
assert resp.effective_url == "http://127.0.0.1/hub/login"
|
assert "http://127.0.0.1/hub/login" in resp.effective_url
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
os.remove(os.path.join(extra_static_config_dir, "extra.toml"))
|
os.remove(os.path.join(extra_static_config_dir, "extra.toml"))
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ def ensure_jupyterhub_package(prefix):
|
|||||||
conda.ensure_pip_packages(
|
conda.ensure_pip_packages(
|
||||||
prefix,
|
prefix,
|
||||||
[
|
[
|
||||||
"jupyterhub==1.1.0",
|
"jupyterhub==1.2.2",
|
||||||
"jupyterhub-dummyauthenticator==0.3.1",
|
"jupyterhub-dummyauthenticator==0.3.1",
|
||||||
"jupyterhub-systemdspawner==0.15",
|
"jupyterhub-systemdspawner==0.15",
|
||||||
"jupyterhub-firstuseauthenticator==0.14.1",
|
"jupyterhub-firstuseauthenticator==0.14.1",
|
||||||
@@ -231,6 +231,7 @@ def ensure_jupyterhub_package(prefix):
|
|||||||
"jupyterhub-tmpauthenticator==0.6",
|
"jupyterhub-tmpauthenticator==0.6",
|
||||||
"oauthenticator==0.10.0",
|
"oauthenticator==0.10.0",
|
||||||
"jupyterhub-idle-culler==1.0",
|
"jupyterhub-idle-culler==1.0",
|
||||||
|
"chardet==3.0.4",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
traefik.ensure_traefik_binary(prefix)
|
traefik.ensure_traefik_binary(prefix)
|
||||||
|
|||||||
Reference in New Issue
Block a user