Commit 28f9f414fc345e761571d7e1501834185b5fb4da
1 parent
feb3f321
1
Showing
1 changed file
with
2 additions
and
2 deletions
testcase/hg/createTradingOrder/test_createTradingOrder.py
... | ... | @@ -27,9 +27,9 @@ if len(cmd_list)!=0: |
27 | 27 | # print("请求次数{}".format(cmd_list[2])) |
28 | 28 | |
29 | 29 | |
30 | -if data!="None": | |
30 | +if d!="None": | |
31 | 31 | for i in range(int(cmd_list[1])): |
32 | - body = data | |
32 | + body = d | |
33 | 33 | print("创建订单body",body) |
34 | 34 | re = hg.post(url = create.url, headers = create.header, json = body) |
35 | 35 | print(re.json()) | ... | ... |