Commit 4669917635a3aabb10afaa1ea0aa9bbb66af96cb

Authored by lixi
1 parent 415b042c

1

testcase/hg/createTradingOrder/test_createTradingOrder.py
1   -import sys
  1 +import sys,os
2 2 # sys.path.extend(['E:\\PycharmWorkspace\\test-scripts'])
3 3 sys.path.extend(['/usr/jenkins/workspace/辅助脚本-创建交易单simple'])
4 4 import commons as com
... ... @@ -7,8 +7,15 @@ from commons.basic.createAndTrade import createAndTrade
7 7 from tmp import data
8 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 16 print(data)
11 17  
  18 +#获取命令行参数
12 19 cmd_list=sys.argv[1:]
13 20 print(cmd_list)
14 21  
... ...