mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Update proxy test for latest jh version
This commit is contained in:
@@ -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"))
|
||||||
|
|||||||
Reference in New Issue
Block a user