示例#1
0
func keysAddTest(t *testing.T, params *utils.DeisTestConfig) {
	params.AuthKey = "deiskey"
	utils.Execute(t, keysAddCmd, params, false, "")
	utils.Execute(t, keysAddCmd, params, true,
		"This field must be unique")
}
示例#2
0
文件: keys_test.go 项目: Blystad/deis
func keysAddTest(t *testing.T, params *utils.DeisTestConfig) {
	params.AuthKey = "deiskey"
	utils.Execute(t, keysAddCmd, params, false, "")
	utils.Execute(t, keysAddCmd, params, true,
		"SSH Key with this Public already exists")
}