pytest中报错allure

如果过程中报错AttributeError: module ‘allure’ has no attribute 'severity_level’

则执行:

pip uninstall pytest-allure-adaptor

pip install allure-pytest

个人在工作中碰到之后常用的解决方法,很好用!

猜你喜欢

转载自blog.csdn.net/qq_45785397/article/details/106757623
今日推荐