首页 > 技术文章 > pytest: error: unrecognized arguments: --html=report.html

lizhe860 2021-02-03 11:15 原文

 

使用pip list来检查,如果你已经pytest-html安装了。如果不是,请安装  pip install pytest-html

pytest-html 是pytest的插件,不属于pytest库。

推荐阅读