Commit cd4326ff21d5077932cc6ad9449760d14d35f482
1 parent
6d52ca67
1
Showing
3 changed files
with
4 additions
and
4 deletions
testcase/hg/createBatch/tmp_d.py renamed to jmsf_d.py
testcase/hg/createBatch/tmp_t.py renamed to jmsf_t.py
testcase/hg/createBatch/test_createBatch.py
1 | -import sys,os | 1 | +import sys |
2 | + | ||
2 | #windows的脚本路径位置 | 3 | #windows的脚本路径位置 |
3 | # sys.path.extend(['E:\\PycharmWorkspace\\test-scripts']) | 4 | # sys.path.extend(['E:\\PycharmWorkspace\\test-scripts']) |
4 | #liunx的脚本路径位置 | 5 | #liunx的脚本路径位置 |
5 | sys.path.extend(['/usr/jenkins/workspace/辅助脚本-创建进门批次单simple']) | 6 | sys.path.extend(['/usr/jenkins/workspace/辅助脚本-创建进门批次单simple']) |
6 | -sys.path.extend(['/usr/jenkins/workspace/辅助脚本-创建进门批次单simple/testcase/hg/createBatch']) | ||
7 | from commons.MySession import hg | 7 | from commons.MySession import hg |
8 | from commons.basic.registerRecord_save import registerRecord_save | 8 | from commons.basic.registerRecord_save import registerRecord_save |
9 | -from testcase.hg.createBatch.tmp_d import d | ||
10 | -from testcase.hg.createBatch.tmp_t import t | 9 | +from jmsf_d import d |
10 | +from jmsf_t import t | ||
11 | create = registerRecord_save() | 11 | create = registerRecord_save() |
12 | # path = os.path.dirname(os.path.abspath(sys.argv[0])) | 12 | # path = os.path.dirname(os.path.abspath(sys.argv[0])) |
13 | #查看文件有效路径 | 13 | #查看文件有效路径 |