當前位置:網站首頁>pytest報錯:AttributeError:module ‘allure’has no attribute ‘severity_level’

pytest報錯:AttributeError:module ‘allure’has no attribute ‘severity_level’

2022-01-27 20:10:22 my name CaoHuazhen

把pytest測試報告生成方式從allure-pytest換成pytest-html時,出現報錯信息,無法運行測試案例

 

錯誤信息:

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETkBteSBuYW1lIENhb0h1YXpoZW4,size_20,color_FFFFFF,t_70,g_se,x_16

 解决辦法:pip uninstall allure-pytest

 

 

版權聲明
本文為[my name CaoHuazhen]所創,轉載請帶上原文鏈接,感謝
https://cht.chowdera.com/2022/01/202201272010217237.html

隨機推薦