ERROR: usage: main.py [options] [file_or_dir] [file_or_dir] [...]
main.py: error: unrecognized arguments: --html=TestResult/test_report.html --self-contained-html
inifile: None
解决方法:
设置-解释器-show-all-选择已有解释器中已安装过pytest-html等插件的解释器,apply后再次运行
ERROR: usage: main.py [options] [file_or_dir] [file_or_dir] [...]
main.py: error: unrecognized arguments: --html=TestResult/test_report.html --self-contained-html
inifile: None
解决方法:
设置-解释器-show-all-选择已有解释器中已安装过pytest-html等插件的解释器,apply后再次运行