Commit fd40b1a2 authored by liyuanhong's avatar liyuanhong

修改了测试报告的样式

parent 33792aa0
......@@ -12,6 +12,7 @@ from testCase.CarDynamic_interface_cases import CarDynamic_interface_cases
from testCase.Car_interface_cases import Car_interface_cases
from testCase.DemoCar_case import DemoCar_case
from testCase.User_interface_cases import User_interface_cases
from testCase.common import HTMLTestRunnerNew
from testCase.common.EmailTool import EmailTool
from testCase.common.HTMLTestRunner import HTMLTestRunner
......@@ -135,7 +136,8 @@ class MainCase():
fp = open(filePath, 'wb')
# 生成报告的Title,描述
runner = HTMLTestRunner(stream=fp, title='车安优App接口测试', description='车安优App拨测程序测试报告...')
# runner = HTMLTestRunner(stream=fp, title='车安优App接口测试', description='车安优App拨测程序测试报告...')
runner = HTMLTestRunnerNew.HTMLTestRunner(stream=fp, title='车安优App接口测试', description='车安优App拨测程序测试报告...')
result = runner.run(suite)
self.sucessCount = result.success_count
self.failureCount = result.failure_count
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment