请教老师:添加命令行参数后,如何把环境变量切换应用到我们的测试用例上

https://github.com/zhangwanli-marker/lagouzuoye_pytest
![|126x60](file:///C:/Users/frankzhang/Documents/SuningImFiles/sn18042828/picRec/202012/20201210150606698.png)
![|113x60](file:///C:/Users/frankzhang/Documents/SuningImFiles/sn18042828/picRec/202012/20201210150707615.png)

同学你的截图好像诶显示出来,麻烦重新修改下


你git代码也更新下,我看下代码


参考下这个
https://docs.pytest.org/en/stable/example/simple.html?highlight=cmdopt

export var=b
python demo.py

windows用set命令