mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-30 04:21:25 +08:00
19 lines
269 B
Go
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)
|
|
}
|