Skip to content
Snippets Groups Projects
Commit ae3f5599 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'f-bool-config-options' into 'dev'

F bool config options

See merge request !77
parents 5c30640e 523c9934
No related branches found
No related tags found
2 merge requests!79Release 0.10.0,!77F bool config options
Pipeline #30483 passed
......@@ -282,7 +282,7 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection):
verify = True
if "cacert" in config:
verify = config["cacert"]
if "ssl_insecure" in config and config["ssl_insecure"].lower() == "true":
if "ssl_insecure" in config and config["ssl_insecure"]:
_LOGGER.warning("*** Warning! ***\n"
"Insecure SSL mode, certificate will not be checked! "
"Please consider removing the `ssl_insecure` configuration option.\n"
......
......@@ -111,6 +111,7 @@ def test_configure_connection():
get_config().set("Connection", "password_method", "plain")
get_config().set("Connection", "password", "test_password")
get_config().set("Connection", "timeout", "200")
get_config().set("Connection", "ssl_insecure", "True")
there(configure_connection)
tru(hasattr(configure_connection, "__call__"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment