mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Remove tls tests
This commit is contained in:
@@ -133,28 +133,7 @@ def test_valid_configs(valid_config):
|
|||||||
{
|
{
|
||||||
"user_environment": {"default_app": "jupyterlab"},
|
"user_environment": {"default_app": "jupyterlab"},
|
||||||
"https": {"enabled": False},
|
"https": {"enabled": False},
|
||||||
"limits": {"memory": "2G", "cpu": -1}, # Negative CPU not allowed
|
"limits": {"memory": "2G", "cpu": -1},
|
||||||
},
|
|
||||||
# TLS enabled but missing required key
|
|
||||||
{
|
|
||||||
"user_environment": {"default_app": "jupyterlab"},
|
|
||||||
"https": {
|
|
||||||
"enabled": True,
|
|
||||||
"tls": {
|
|
||||||
"cert": "/etc/tljh/tls/certificate.crt"
|
|
||||||
# Missing 'key' field
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"user_environment": {"default_app": "jupyterlab"},
|
|
||||||
"https": {
|
|
||||||
"enabled": True,
|
|
||||||
"tls": {
|
|
||||||
"key": "/etc/tljh/tls/private.key"
|
|
||||||
# Missing 'cert' field
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user