local-server/cmd/dkl-local-server/ssh-secrets_test.go
2019-12-03 14:39:42 +01:00

18 lines
250 B
Go

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)
}
}