Пример #1
0
// TestCustomServerAttributes test CustomServerAttributes
func TestCustomServerAttributes(t *testing.T) {
	var testServerAttributes *icsp.CustomServerAttributes
	testServerAttributes = testServerAttributes.New()
	testServerAttributes.Set("ssh_user", "docker")
	log.Infof("testServer -> %+v", testServerAttributes)
	assert.Equal(t, "docker", testServerAttributes.Get("ssh_user"), "should be equal when called for ssh_user")
}