Files
PandaX/pkg/ys/ys_test.go
2023-09-04 20:31:06 +08:00

19 lines
269 B
Go

package ys
import "testing"
func TestYs_GetDeviceList(t *testing.T) {
ys := &Ys{
AppKey: "",
Secret: "",
IsRAM: 0,
AccountID: "",
}
devices, total, err := ys.GetDeviceList(1, 10)
if err != nil {
t.Error(err)
}
t.Log(devices)
t.Log(total)
}