Use default true for validate

This commit is contained in:
Jordan Bradford
2024-04-03 16:09:18 -04:00
parent 9bcfa70326
commit 38a01e8406
2 changed files with 15 additions and 23 deletions

View File

@@ -63,9 +63,9 @@ def test_manual_https(preserve_config):
"/CN=tljh.jupyer.org",
]
)
set_config_value(CONFIG_FILE, "https.enabled", True, True)
set_config_value(CONFIG_FILE, "https.tls.key", key, True)
set_config_value(CONFIG_FILE, "https.tls.cert", cert, True)
set_config_value(CONFIG_FILE, "https.enabled", True)
set_config_value(CONFIG_FILE, "https.tls.key", key)
set_config_value(CONFIG_FILE, "https.tls.cert", cert)
reload_component("proxy")
for i in range(10):
time.sleep(i)
@@ -89,7 +89,7 @@ def test_manual_https(preserve_config):
# cleanup
shutil.rmtree(ssl_dir)
set_config_value(CONFIG_FILE, "https.enabled", False, True)
set_config_value(CONFIG_FILE, "https.enabled", False)
reload_component("proxy")