local-server/cmd/dkl-local-server/ssh-secrets_test.go

18 lines
250 B
Go
Raw Normal View History

2019-12-03 10:03:20 +00:00
package main
import "testing"
func init() {
DontSave = true
}
func TestSSHKeyGet(t *testing.T) {
sd := &SecretData{
clusters: make(map[string]*ClusterSecrets),
}
if _, err := sd.SSHKeyPairs("test", "host"); err != nil {
t.Error(err)
}
}