例如:运行时,装饰器@pytest.mark.run(order=1)不起作用或者报
报AttributeError: module 'requests' has no attribute 'post'
解决办法:
文件-设置-python解释器选中python的安装目录(因为通过pip安装的第三方包均安装在python的安装目录下)
例如:运行时,装饰器@pytest.mark.run(order=1)不起作用或者报
报AttributeError: module 'requests' has no attribute 'post'
解决办法:
文件-设置-python解释器选中python的安装目录(因为通过pip安装的第三方包均安装在python的安装目录下)