diff --git a/tests/test_configurer.py b/tests/test_configurer.py index e05d051..bbef8c4 100644 --- a/tests/test_configurer.py +++ b/tests/test_configurer.py @@ -193,6 +193,7 @@ def test_cull_service_default(): } ] + def test_set_cull_service(): """ Test setting cull service options @@ -218,12 +219,22 @@ def test_set_cull_service(): } ] + def test_cull_service_named(): """ Test default cull service settings with named server removal """ c = apply_mock_config( - {"services": {"cull": {"every": 10, "cull_users": True, "remove_named_servers": True, "max_age": 60}}} + { + "services": { + "cull": { + "every": 10, + "cull_users": True, + "remove_named_servers": True, + "max_age": 60, + } + } + } ) cull_cmd = [ @@ -245,6 +256,7 @@ def test_cull_service_named(): } ] + def test_load_secrets(tljh_dir): """ Test loading secret files diff --git a/tljh/configurer.py b/tljh/configurer.py index f731ee7..e5c2ea2 100644 --- a/tljh/configurer.py +++ b/tljh/configurer.py @@ -59,7 +59,7 @@ default = { "concurrency": 5, "users": False, "max_age": 0, - "remove_named_servers": False + "remove_named_servers": False, }, "configurator": {"enabled": False}, },