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

Function test_plugin_help

tests/integration/test_plugin.py:14–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14def test_plugin_help():
15 code, out, err = exec_cmd(['dcos', 'plugin'])
16 assert code == 0
17 assert err == ''
18 assert out == '''Manage CLI plugins
19
20Usage:
21 dcos plugin [command]
22
23Commands:
24 add
25 Add a CLI plugin
26 list
27 List CLI plugins
28 remove
29 Remove a CLI plugin
30
31Options:
32 -h, --help
33 help for plugin
34
35Use "dcos plugin [command] --help" for more information about a command.
36'''
37
38
39def test_plugin_invalid_usage():

Callers

nothing calls this directly

Calls 1

exec_cmdFunction · 0.85

Tested by

no test coverage detected