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

Method setUp

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

Source from the content-addressed store, hash-verified

66 self.shell = Shell()
67
68 def setUp(self):
69 super(ShellTestCase, self).setUp()
70
71 if six.PY3:
72 # In python --version outputs to stdout and in 2.x to stderr
73 self.version_output = self.stdout
74 else:
75 self.version_output = self.stderr
76
77 def test_commands_usage_and_help_strings(self):
78 # No command, should print out user friendly usage / help string

Callers 1

setUpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected