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

Method test_key

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

Source from the content-addressed store, hash-verified

282 )
283
284 def test_key(self):
285 args_list = [
286 ["key", "list"],
287 ["key", "list", "-n", "2"],
288 ["key", "get", "abc"],
289 ["key", "set", "abc", "123"],
290 ["key", "delete", "abc"],
291 ["key", "load", "/tmp/keys.json"],
292 ]
293 self._validate_parser(args_list)
294
295 def test_policy(self):
296 args_list = [

Callers

nothing calls this directly

Calls 1

_validate_parserMethod · 0.95

Tested by

no test coverage detected