Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StackStorm/st2
/ test_exit_code_on_success
Method
test_exit_code_on_success
st2client/tests/unit/test_shell.py:210–212 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
208
),
209
)
210
def
test_exit_code_on_success(self):
211
argv = [
"trigger"
,
"list"
]
212
self.assertEqual(self.shell.run(argv), 0)
213
214
@mock.patch.object(
215
httpclient.HTTPClient,
Callers
nothing calls this directly
Calls
1
run
Method · 0.45
Tested by
no test coverage detected