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

Method test_pack

st2client/tests/unit/test_shell.py:329–342  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

327 self._validate_parser(args_list)
328
329 def test_pack(self):
330 args_list = [
331 ["pack", "list"],
332 ["pack", "get", "abc"],
333 ["pack", "search", "abc"],
334 ["pack", "show", "abc"],
335 ["pack", "remove", "abc"],
336 ["pack", "remove", "abc", "--detail"],
337 ["pack", "install", "abc"],
338 ["pack", "install", "abc", "--force"],
339 ["pack", "install", "abc", "--detail"],
340 ["pack", "config", "abc"],
341 ]
342 self._validate_parser(args_list)
343
344 @mock.patch("st2client.base.ST2_CONFIG_PATH", "/home/does/not/exist")
345 def test_print_config_default_config_no_config(self):

Callers

nothing calls this directly

Calls 1

_validate_parserMethod · 0.95

Tested by

no test coverage detected