Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StackStorm/st2
/ get_handler
Function
get_handler
st2common/tests/unit/test_queue_consumer.py:38–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
37
38
def
get_handler():
39
return
FakeMessageHandler(mock.MagicMock(), [FAKE_WORK_Q])
40
41
42
class
QueueConsumerTest(DbTestCase):
Callers
2
test_process_message
Method · 0.70
test_process_message_wrong_payload_type
Method · 0.70
Calls
1
FakeMessageHandler
Class · 0.85
Tested by
no test coverage detected