mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Fixed unit test
This commit is contained in:
@@ -35,7 +35,7 @@ def test_default_config(tmpdir, tljh_dir):
|
|||||||
assert cfg["entryPoints"] == {
|
assert cfg["entryPoints"] == {
|
||||||
"http": {"address": ":80"},
|
"http": {"address": ":80"},
|
||||||
"auth_api": {
|
"auth_api": {
|
||||||
"address": ":8099",
|
"address": "127.0.0.1:8099",
|
||||||
"auth": {
|
"auth": {
|
||||||
"basic": {"users": [""]}
|
"basic": {"users": [""]}
|
||||||
},
|
},
|
||||||
@@ -72,7 +72,7 @@ def test_letsencrypt_config(tljh_dir):
|
|||||||
"http": {"address": ":80", "redirect": {"entryPoint": "https"}},
|
"http": {"address": ":80", "redirect": {"entryPoint": "https"}},
|
||||||
"https": {"address": ":443", "tls": {}},
|
"https": {"address": ":443", "tls": {}},
|
||||||
"auth_api": {
|
"auth_api": {
|
||||||
"address": ":8099",
|
"address": "127.0.0.1:8099",
|
||||||
"auth": {
|
"auth": {
|
||||||
"basic": {"users": [""]}
|
"basic": {"users": [""]}
|
||||||
},
|
},
|
||||||
@@ -118,7 +118,7 @@ def test_manual_ssl_config(tljh_dir):
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
"auth_api": {
|
"auth_api": {
|
||||||
"address": ":8099",
|
"address": "127.0.0.1:8099",
|
||||||
"auth": {
|
"auth": {
|
||||||
"basic": {"users": [""]}
|
"basic": {"users": [""]}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user