allure.attach("get env", "附加文本", attachment_type=allure.attachment_type.TEXT)
allure.attach("<body>测试body</body>", "html代码", attachment_type=allure.attachment_type.HTML)
allure.attach.file("./test.png", "图片信息", attachment_type=allure.attachment_type.PNG)
标签:type,attach,allure,attachment,测试,添加 From: https://www.cnblogs.com/yinzone/p/18175570