MCPcopy Create free account
hub / github.com/dcos/dcos-cli / test_plugin_exit_code

Function test_plugin_exit_code

tests/integration/test_plugin.py:217–221  ·  view source on GitHub ↗
(default_cluster)

Source from the content-addressed store, hash-verified

215
216
217def test_plugin_exit_code(default_cluster):
218 _install_test_plugin()
219
220 code, _, _ = exec_cmd(['dcos', 'test', 'exit', '43'])
221 assert code == 43
222
223
224def test_plugin_config_env(default_cluster):

Callers

nothing calls this directly

Calls 2

_install_test_pluginFunction · 0.85
exec_cmdFunction · 0.85

Tested by

no test coverage detected