上传背包测试脚本
This commit is contained in:
parent
2f7a6cb58c
commit
426120cefb
@ -73,7 +73,7 @@ func TestMain(m *testing.M) {
|
|||||||
defer os.Exit(m.Run())
|
defer os.Exit(m.Run())
|
||||||
}
|
}
|
||||||
|
|
||||||
func Test_Log(t *testing.T) {
|
func Test_Modules(t *testing.T) {
|
||||||
data, _ := ptypes.MarshalAny(&pb.Pack_Getlist_Req{})
|
data, _ := ptypes.MarshalAny(&pb.Pack_Getlist_Req{})
|
||||||
s_gateComp.ReceiveMsg(context.Background(), &pb.AgentMessage{Method: "pack.getlist", Message: data}, &pb.RPCMessageReply{})
|
s_gateComp.ReceiveMsg(context.Background(), &pb.AgentMessage{Method: "pack.getlist", Message: data}, &pb.RPCMessageReply{})
|
||||||
// items, err := module.db_comp.Pack_QueryUserPack("liwei1dao")
|
// items, err := module.db_comp.Pack_QueryUserPack("liwei1dao")
|
||||||
|
Loading…
Reference in New Issue
Block a user