open-vault/command/ssh_test.go

24 lines
355 B
Go
Raw Normal View History

2015-07-10 15:56:14 +00:00
package command
import (
"testing"
"github.com/mitchellh/cli"
)
2017-09-05 04:04:32 +00:00
func testSSHCommand(tb testing.TB) (*cli.MockUi, *SSHCommand) {
tb.Helper()
2015-07-10 15:56:14 +00:00
2017-09-05 04:04:32 +00:00
ui := cli.NewMockUi()
return ui, &SSHCommand{
BaseCommand: &BaseCommand{
UI: ui,
2015-07-10 15:56:14 +00:00
},
}
2017-09-05 04:04:32 +00:00
}
2015-07-10 22:59:32 +00:00
2017-09-05 04:04:32 +00:00
func TestSSHCommand_Run(t *testing.T) {
t.Parallel()
t.Skip("Need a way to setup target infrastructure")
2015-07-10 15:56:14 +00:00
}