Commit ca54aa7cb8f02a12ddffde6e3d82593c5d61e50a
1 parent
d52190a4
更新
Showing
2 changed files
with
1 additions
and
3 deletions
testCase/main.py renamed to main.py
... | ... | @@ -37,7 +37,7 @@ def Run_Testcase(testsuit): |
37 | 37 | '''运行测试用例并生成报告''' |
38 | 38 | now = time.strftime("%Y-%m-%d %H_%M_%S", time.localtime()) |
39 | 39 | path = os.path.dirname(os.path.abspath(sys.argv[0])) |
40 | - report_file = os.path.abspath(os.path.join(path, "../"))+ "/report/" + now + "_result.html" | |
40 | + report_file = os.path.abspath(os.path.join(path, "/")) + "/report/" + now + "_result.html" | |
41 | 41 | # 创建报告文件 |
42 | 42 | fp = open(report_file, 'wb') |
43 | 43 | ... | ... |
report/test.log