Skip to content

Commit 251099c

Browse files
committed
Remove tls tests
1 parent fa83068 commit 251099c

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

tests/test_config_schema.py

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -133,28 +133,7 @@ def test_valid_configs(valid_config):
133133
{
134134
"user_environment": {"default_app": "jupyterlab"},
135135
"https": {"enabled": False},
136-
"limits": {"memory": "2G", "cpu": -1}, # Negative CPU not allowed
137-
},
138-
# TLS enabled but missing required key
139-
{
140-
"user_environment": {"default_app": "jupyterlab"},
141-
"https": {
142-
"enabled": True,
143-
"tls": {
144-
"cert": "/etc/tljh/tls/certificate.crt"
145-
# Missing 'key' field
146-
},
147-
},
148-
},
149-
{
150-
"user_environment": {"default_app": "jupyterlab"},
151-
"https": {
152-
"enabled": True,
153-
"tls": {
154-
"key": "/etc/tljh/tls/private.key"
155-
# Missing 'cert' field
156-
},
157-
},
136+
"limits": {"memory": "2G", "cpu": -1},
158137
},
159138
],
160139
)

0 commit comments

Comments
 (0)