(t *testing.T)
| 54 | } |
| 55 | |
| 56 | func TestPersistentPreRunE_AuthSubcommands(t *testing.T) { |
| 57 | f, _, _, _ := cmdutil.TestFactory(t, nil) |
| 58 | |
| 59 | authCmd := auth.NewCmdAuth(f) |
| 60 | for _, sub := range authCmd.Commands() { |
| 61 | if !cmdutil.IsAuthCheckDisabled(sub) { |
| 62 | t.Errorf("expected auth subcommand %q to inherit disabled auth check", sub.Name()) |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | func TestPersistentPreRunE_ConfigSubcommands(t *testing.T) { |
| 68 | f, _, _, _ := cmdutil.TestFactory(t, nil) |
nothing calls this directly
no test coverage detected