Skip to content
Snippets Groups Projects

Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend

2 files
+ 9
6
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
6
@@ -193,13 +193,8 @@ def make_app(config, **kwargs):
return app
api_cfg = None
def make_app_from_configfile(config_path=DEFAULT_CONFIG_PATH, **kwargs):
global api_cfg
if not api_cfg:
api_cfg = config.read(config_path, DEFAULT_CONFIG)
api_cfg = config.read(config_path, DEFAULT_CONFIG)
return make_app(api_cfg, **kwargs)
Loading