安装了 pytest-allure-adaptor 后,执行测试用例报错:AttributeError: module 'allure' has no attribute 'severity_level'
原因:
因为之前已经安装了 allure-pytest
解决:
卸载 pytest-allure-adaptor
pip uninstall pytest-allure-adaptor
pip install allure-pytest
因为之前已经安装了 allure-pytest
卸载 pytest-allure-adaptor
pip uninstall pytest-allure-adaptor
pip install allure-pytest
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。