()
| 12 | |
| 13 | |
| 14 | def 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 | |
| 20 | Usage: |
| 21 | dcos plugin [command] |
| 22 | |
| 23 | Commands: |
| 24 | add |
| 25 | Add a CLI plugin |
| 26 | list |
| 27 | List CLI plugins |
| 28 | remove |
| 29 | Remove a CLI plugin |
| 30 | |
| 31 | Options: |
| 32 | -h, --help |
| 33 | help for plugin |
| 34 | |
| 35 | Use "dcos plugin [command] --help" for more information about a command. |
| 36 | ''' |
| 37 | |
| 38 | |
| 39 | def test_plugin_invalid_usage(): |
nothing calls this directly
no test coverage detected