package auth import ( "testing" ) func TestTestSSHConnectionRejectsEmptyHost(t *testing.T) { err := TestSSHConnection("", "clustercanvas", "not-a-key", "") if err == nil { t.Fatal("expected error") } } func TestTestSSHConnectionRejectsInvalidKey(t *testing.T) { err := TestSSHConnection("127.0.0.1", "clustercanvas", "not-a-key", "") if err == nil { t.Fatal("expected error") } }