摘要: 1.如何在case失败后做操作? 需要在conftest文件中加入函数 pytest_exception_interact 如下: def pytest_exception_interact(node, call, report): if report.failed: # do somethings 阅读全文
posted @ 2021-04-20 17:13 风,又奈何 阅读(213) 评论(0) 推荐(0) 编辑