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

Method _do_setUpClass

st2tests/st2tests/api.py:151–163  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

149
150 @classmethod
151 def _do_setUpClass(cls):
152 tests_config.parse_args()
153
154 cfg.CONF.set_default("enable", cls.enable_auth, group="auth")
155
156 cfg.CONF.set_override(name="enable", override=False, group="rbac")
157
158 # TODO(manas) : register action types here for now. RunnerType registration can be moved
159 # to posting to /runnertypes but that implies implementing POST.
160 if cls.register_runners:
161 runners_registrar.register_runners()
162
163 cls.app = TestApp(cls.app_module.setup_app())
164
165 def use_user(self, user_db):
166 """

Callers 1

setUpClassMethod · 0.80

Calls 1

TestAppClass · 0.85

Tested by

no test coverage detected