From 251099caac2a798e24c3a03cf5de6f095c045b11 Mon Sep 17 00:00:00 2001 From: Jordan Bradford <36420801+jrdnbradford@users.noreply.github.com> Date: Tue, 11 Mar 2025 14:42:22 -0400 Subject: [PATCH] Remove `tls` tests --- tests/test_config_schema.py | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/tests/test_config_schema.py b/tests/test_config_schema.py index 7fb1c30..7654d37 100644 --- a/tests/test_config_schema.py +++ b/tests/test_config_schema.py @@ -133,28 +133,7 @@ def test_valid_configs(valid_config): { "user_environment": {"default_app": "jupyterlab"}, "https": {"enabled": False}, - "limits": {"memory": "2G", "cpu": -1}, # Negative CPU not allowed - }, - # 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 - }, - }, + "limits": {"memory": "2G", "cpu": -1}, }, ], )