()
| 37 | |
| 38 | |
| 39 | def test_plugin_invalid_usage(): |
| 40 | code, out, err = exec_cmd(['dcos', 'plugin', 'not-a-command']) |
| 41 | assert code != 0 |
| 42 | assert out == '' |
| 43 | assert err == '''Usage: |
| 44 | dcos plugin [command] |
| 45 | |
| 46 | Commands: |
| 47 | add |
| 48 | Add a CLI plugin |
| 49 | list |
| 50 | List CLI plugins |
| 51 | remove |
| 52 | Remove a CLI plugin |
| 53 | |
| 54 | Options: |
| 55 | -h, --help |
| 56 | help for plugin |
| 57 | |
| 58 | Use "dcos plugin [command] --help" for more information about a command. |
| 59 | |
| 60 | Error: unknown command not-a-command |
| 61 | ''' |
| 62 | |
| 63 | |
| 64 | def test_plugin_list(default_cluster): |
nothing calls this directly
no test coverage detected