You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "", line 1, in
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/lincanyi/Project/interface-tools/lxtx/case/debugCase.py", line 13, in
runner.run_test(report_title='接口自动化测试报告')
File "/Users/lincanyi/Project/interface-tools/venv/lib/python3.8/site-packages/utx-0.0.7-py3.8.egg/utx/runner.py", line 222, in run_test
_TestRunner(report_dir=report_dir, report_title=report_title).run(suite)
File "/Users/lincanyi/Project/interface-tools/venv/lib/python3.8/site-packages/utx-0.0.7-py3.8.egg/utx/runner.py", line 118, in run
style_1.build_report(file_path, result_data)
File "/Users/lincanyi/Project/interface-tools/venv/lib/python3.8/site-packages/utx-0.0.7-py3.8.egg/utx/report/style_1.py", line 377, in build_report
test_pass_per="{:.2%}".format(data['testPass'] / data['testAll']),
ZeroDivisionError: division by zero
py文件不以开头test开头会报0错误
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "", line 1, in
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/lincanyi/Project/interface-tools/lxtx/case/debugCase.py", line 13, in
runner.run_test(report_title='接口自动化测试报告')
File "/Users/lincanyi/Project/interface-tools/venv/lib/python3.8/site-packages/utx-0.0.7-py3.8.egg/utx/runner.py", line 222, in run_test
_TestRunner(report_dir=report_dir, report_title=report_title).run(suite)
File "/Users/lincanyi/Project/interface-tools/venv/lib/python3.8/site-packages/utx-0.0.7-py3.8.egg/utx/runner.py", line 118, in run
style_1.build_report(file_path, result_data)
File "/Users/lincanyi/Project/interface-tools/venv/lib/python3.8/site-packages/utx-0.0.7-py3.8.egg/utx/report/style_1.py", line 377, in build_report
test_pass_per="{:.2%}".format(data['testPass'] / data['testAll']),
ZeroDivisionError: division by zero
py文件不以开头test开头会报0错误
The text was updated successfully, but these errors were encountered: