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

Function blocking_eventlet_spawn

st2tests/st2tests/base.py:823–825  ·  view source on GitHub ↗
(func, *args, **kwargs)

Source from the content-addressed store, hash-verified

821
822
823def blocking_eventlet_spawn(func, *args, **kwargs):
824 func(*args, **kwargs)
825 return mock.Mock()
826
827
828# Utility function for mocking read_and_store_{stdout,stderr} functions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected