MCPcopy Create free account
hub / github.com/StackStorm/st2 / _setup_config_opts

Function _setup_config_opts

st2tests/st2tests/config.py:53–64  ·  view source on GitHub ↗
(coordinator_noop=True)

Source from the content-addressed store, hash-verified

51
52
53def _setup_config_opts(coordinator_noop=True):
54 reset()
55
56 try:
57 _register_config_opts()
58 except Exception as e:
59 print(e)
60 # Some scripts register the options themselves which means registering them again will
61 # cause a non-fatal exception
62 return
63
64 _override_config_opts(coordinator_noop=coordinator_noop)
65
66
67def _override_config_opts(coordinator_noop=False):

Callers 1

parse_argsFunction · 0.85

Calls 3

resetFunction · 0.85
_register_config_optsFunction · 0.85
_override_config_optsFunction · 0.85

Tested by

no test coverage detected