Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StackStorm/st2
/ test_exit_code_on_error
Method
test_exit_code_on_error
st2client/tests/unit/test_shell.py:221–223 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
219
),
220
)
221
def
test_exit_code_on_error(self):
222
argv = [
"trigger"
,
"list"
]
223
self.assertEqual(self.shell.run(argv), 1)
224
225
def
_validate_parser(self, args_list, is_subcommand=True):
226
for
args in args_list:
Callers
nothing calls this directly
Calls
1
run
Method · 0.45
Tested by
no test coverage detected