Commit 4669917635a3aabb10afaa1ea0aa9bbb66af96cb
1 parent
415b042c
1
Showing
1 changed file
with
8 additions
and
1 deletions
testcase/hg/createTradingOrder/test_createTradingOrder.py
1 | -import sys | 1 | +import sys,os |
2 | # sys.path.extend(['E:\\PycharmWorkspace\\test-scripts']) | 2 | # sys.path.extend(['E:\\PycharmWorkspace\\test-scripts']) |
3 | sys.path.extend(['/usr/jenkins/workspace/辅助脚本-创建交易单simple']) | 3 | sys.path.extend(['/usr/jenkins/workspace/辅助脚本-创建交易单simple']) |
4 | import commons as com | 4 | import commons as com |
@@ -7,8 +7,15 @@ from commons.basic.createAndTrade import createAndTrade | @@ -7,8 +7,15 @@ from commons.basic.createAndTrade import createAndTrade | ||
7 | from tmp import data | 7 | from tmp import data |
8 | create = createAndTrade() | 8 | create = createAndTrade() |
9 | 9 | ||
10 | + | ||
11 | +# path = os.path.dirname(os.path.abspath(sys.argv[0])) | ||
12 | +print(sys.path) | ||
13 | + | ||
14 | + | ||
15 | +#打印请求json | ||
10 | print(data) | 16 | print(data) |
11 | 17 | ||
18 | +#获取命令行参数 | ||
12 | cmd_list=sys.argv[1:] | 19 | cmd_list=sys.argv[1:] |
13 | print(cmd_list) | 20 | print(cmd_list) |
14 | 21 |