package hikvoice import( "testing" "fmt" ) func TestMain(m *testing.M) { fmt.Println("begin") var ip,usrname,passwd,filepath string ip = "192.168.5.35" usrname = "admin" passwd = "a1234567" filepath = "8k_1_16.g711a" r := SendVoice(ip, usrname, passwd, filepath) fmt.Println("end ", r) }