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

Method setUpClass

st2actions/tests/unit/test_queue_consumers.py:48–60  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

46class QueueConsumerTest(ExecutionDbTestCase):
47 @classmethod
48 def setUpClass(cls):
49 super(QueueConsumerTest, cls).setUpClass()
50
51 # Register runners.
52 runnersregistrar.register_runners()
53
54 # Register test pack(s).
55 actions_registrar = actionsregistrar.ActionsRegistrar(
56 use_pack_cache=False, fail_on_failure=True
57 )
58
59 for pack in PACKS:
60 actions_registrar.register_from_pack(pack)
61
62 def __init__(self, *args, **kwargs):
63 super(QueueConsumerTest, self).__init__(*args, **kwargs)

Callers

nothing calls this directly

Calls 1

register_from_packMethod · 0.95

Tested by

no test coverage detected