Skip to content
Snippets Groups Projects
Unverified Commit 93645e17 authored by Max Adamo's avatar Max Adamo
Browse files

fix: correct condition for unit-test section in config

parent edcc594e
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ for loader, module_name, is_pkg in pkgutil.walk_packages(__path__):
PROVIDERS_CA = l_eval(config.get('acme', 'providers_ca'))
# these parameters only work in test
if 'unit-test' not in config.sections():
if 'unit-test' in config.sections():
VAULT_ROOT_TOKEN = config.get('acme', 'vault_token_root')
MOUNT_POINTS_V1 = l_eval(config.get('unit-test', 'mount_points_v1'))
MOUNT_POINTS_V2 = l_eval(config.get('unit-test', 'mount_points_v2'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment