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

Function test_plugin_install_invalid_test

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

Source from the content-addressed store, hash-verified

89
90
91def test_plugin_install_invalid_test(default_cluster):
92 filename = os.path.splitext(os.path.basename(__file__))[0]
93 code, out, err = exec_cmd(['dcos', 'plugin', 'add', __file__])
94 assert code == 1
95 assert err == 'Error: {} has no commands\n'.format(filename)
96 assert out == ''
97
98
99def test_plugin_invocation(default_cluster):

Callers

nothing calls this directly

Calls 1

exec_cmdFunction · 0.85

Tested by

no test coverage detected