1、py文件运行没有问题,打包成exe没有问题,执行exe报错unrecognized arguments: --html=D:\myapp\18G_tr069\report\report.html,删除生成报告的参数执行正常。
2、执行命令pytes.main(['./test_tr069.py::test_diagnosis', './test_tr069.py::test_infos', '--capture=tee-sys','--html=D:\myapp\18G_tr069\report\report.html'])
3、