一、運行main函數,未生成測試報告,報錯:'_TestResult' object has no attribute 'outputBuffer'
self.outputBuffer = io.StringIO()
self.test_start_time = round(time.time(), 2)
、在HTMLTestReportCN.py中
Ctrl+F搜索_TestResult方法,在__init__方法中添加:
一、運行main函數,未生成測試報告,報錯:'_TestResult' object has no attribute 'outputBuffer'
self.outputBuffer = io.StringIO()
self.test_start_time = round(time.time(), 2)
、在HTMLTestReportCN.py中
Ctrl+F搜索_TestResult方法,在__init__方法中添加:
繼續運行 ?* 回憶上次內容 上次使用shell環境中的命令 命令 作用 c