131 elif len(args) == 2 and args[0] == "rpc-client-go-service":
132 doRpcClientToGoSvc(int(args[1]))
133 else:
134 print("Usage: test.py " + 135 "[testdata|rpc-server|rpc-client-python-service|rpc-client-go-service] ...")
136
137if __name__ == "__main__":
56 "false": False,
57 "uint16(1616)": 1616 },
58 { "list": [1616, 32323232, True, -3232.0, {"TRUE":True, "FALSE":False}, [True, False] ],
59 "int32":32323232, "bool": True, 60 "LONG STRING": u"123456789012345678901234567890123456789012345678901234567890",
61 "SHORT STRING": u"1234567890" },
62 { True: "true", 138: False, "false": 200 }
18
19def get_test_data_list():
20 # get list with all primitive types, and a combo type
21 l0 = [ 22 -8,
23 -1616,
24 -32323232,
There should be no whitespace after the final character in a line.